Class CQL3Type.Vector

java.lang.Object
org.apache.cassandra.cql3.CQL3Type.Vector
All Implemented Interfaces:
CQL3Type
Enclosing interface:
CQL3Type

public static class CQL3Type.Vector extends Object implements CQL3Type
  • Constructor Details

    • Vector

      public Vector(VectorType<?> type)
    • Vector

      public Vector(AbstractType<?> elementType, int dimensions)
  • Method Details

    • isVector

      public boolean isVector()
      Specified by:
      isVector in interface CQL3Type
    • getType

      public VectorType<?> getType()
      Specified by:
      getType in interface CQL3Type
    • toCQLLiteral

      public String toCQLLiteral(ByteBuffer buffer)
      Description copied from interface: CQL3Type
      Generates CQL literal from a binary value of this type.
      Specified by:
      toCQLLiteral in interface CQL3Type
      Parameters:
      buffer - the value to convert to a CQL literal. This value must be serialized with version of the native protocol.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object