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

    Modifier and Type
    Method
    Description
    static java.lang.String
    asBlob(byte[] data)
     
    byte[]
    Blob value as bytes array.
    static byte[]
    parseBlob(java.lang.String data)
     
    java.lang.String
     

    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 Details

    • SqlJetBlobLiteral

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

    • 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)