Class SqlJetBlobLiteral
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.schema.SqlJetExpression
-
- org.tmatesoft.sqljet.core.internal.schema.SqlJetBlobLiteral
-
- All Implemented Interfaces:
ISqlJetBlobLiteral,ISqlJetExpression,ISqlJetLiteralValue
public class SqlJetBlobLiteral extends SqlJetExpression implements ISqlJetBlobLiteral
-
-
Constructor Summary
Constructors Constructor Description SqlJetBlobLiteral(org.antlr.runtime.tree.CommonTree ast)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.StringasBlob(byte[] data)byte[]getValue()Blob value as bytes array.static byte[]parseBlob(java.lang.String data)java.lang.StringtoString()-
Methods inherited from class org.tmatesoft.sqljet.core.internal.schema.SqlJetExpression
create
-
-
-
-
Method Detail
-
getValue
public byte[] getValue()
Description copied from interface:ISqlJetBlobLiteralBlob value as bytes array.
IMPORTANT: Do not modify the returned array!
- Specified by:
getValuein interfaceISqlJetBlobLiteral- Specified by:
getValuein interfaceISqlJetExpression- Overrides:
getValuein classSqlJetExpression- Returns:
- blob value
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
parseBlob
public static byte[] parseBlob(java.lang.String data)
-
asBlob
public static java.lang.String asBlob(byte[] data)
-
-