org.tmatesoft.sqljet.core.internal.schema
Class SqlJetBlobLiteral

java.lang.Object
  extended by org.tmatesoft.sqljet.core.internal.schema.SqlJetExpression
      extended by org.tmatesoft.sqljet.core.internal.schema.SqlJetBlobLiteral
All Implemented Interfaces:
ISqlJetBlobLiteral, ISqlJetExpression, ISqlJetLiteralValue

public class SqlJetBlobLiteral
extends SqlJetExpression
implements ISqlJetBlobLiteral


Constructor Summary
SqlJetBlobLiteral(org.antlr.runtime.tree.CommonTree ast)
           
 
Method Summary
static java.lang.String asBlob(byte[] data)
           
 byte[] getValue()
           Blob value as bytes array.
static byte[] parseBlob(java.lang.String data)
           
 java.lang.String toString()
           
 
Methods inherited from class org.tmatesoft.sqljet.core.internal.schema.SqlJetExpression
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SqlJetBlobLiteral

public SqlJetBlobLiteral(org.antlr.runtime.tree.CommonTree ast)
Method Detail

getValue

public byte[] getValue()
Description copied from interface: ISqlJetBlobLiteral

Blob value as bytes array.

IMPORTANT: Do not modify the returned array!

Specified by:
getValue in interface ISqlJetBlobLiteral
Specified by:
getValue in interface ISqlJetExpression
Overrides:
getValue in class SqlJetExpression
Returns:
blob value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

parseBlob

public static byte[] parseBlob(java.lang.String data)

asBlob

public static java.lang.String asBlob(byte[] data)