Class CQL3Type.Collection

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

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

  • Method Details

    • getType

      public CollectionType<?> getType()
      Specified by:
      getType in interface CQL3Type
    • isCollection

      public boolean isCollection()
      Specified by:
      isCollection 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 final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object