Class Expression

java.lang.Object
com.aerospike.client.exp.Expression
All Implemented Interfaces:
Serializable

public final class Expression extends Object implements Serializable
Packed expression byte instructions.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Expression
    fromBase64(byte[] bytes)
    Return a new expression from packed expression instructions in base64 encoded bytes.
    static Expression
    Return a new expression from packed expression instructions in base64 encoded string.
    static Expression
    fromBytes(byte[] bytes)
    Return a new expression from packed expression instructions in bytes.
    Return byte instructions in base64 encoding.
    byte[]
    Return packed byte instructions.
    int
     
    int
    Estimate expression size in wire protocol.
    void
    write(com.aerospike.client.command.Command cmd)
    Write expression in wire protocol.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • fromBytes

      public static Expression fromBytes(byte[] bytes)
      Return a new expression from packed expression instructions in bytes.
    • fromBase64

      public static Expression fromBase64(byte[] bytes)
      Return a new expression from packed expression instructions in base64 encoded bytes.
    • fromBase64

      public static Expression fromBase64(String s)
      Return a new expression from packed expression instructions in base64 encoded string.
    • getBytes

      public byte[] getBytes()
      Return packed byte instructions.
    • getBase64

      public String getBase64()
      Return byte instructions in base64 encoding.
    • size

      public int size()
      Estimate expression size in wire protocol. For internal use only.
    • write

      public void write(com.aerospike.client.command.Command cmd)
      Write expression in wire protocol. For internal use only.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object