Class CQL3Type.Custom

  • All Implemented Interfaces:
    CQL3Type
    Enclosing interface:
    CQL3Type

    public static class CQL3Type.Custom
    extends java.lang.Object
    implements CQL3Type
    • Method Detail

      • toCQLLiteral

        public java.lang.String toCQLLiteral​(java.nio.ByteBuffer buffer,
                                             ProtocolVersion version)
        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.
        version - the native protocol version in which buffer is encoded.
      • equals

        public final boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object