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
- Author:
- TMate Software Ltd., Dmitry Stadnik (dtrace@seznam.cz)
-
-
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.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
-
-
-
-
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 interfaceISqlJetBlobLiteral
- Specified by:
getValue
in interfaceISqlJetExpression
- Overrides:
getValue
in classSqlJetExpression
- Returns:
- blob value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
parseBlob
public static byte[] parseBlob(java.lang.String data)
-
asBlob
public static java.lang.String asBlob(byte[] data)
-
-