CQL3Type.Collection, CQL3Type.Custom, CQL3Type.Native, CQL3Type.Raw, CQL3Type.Tuple, CQL3Type.UserDefined
Constructor and Description |
---|
Custom(AbstractType<?> type) |
Custom(java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
AbstractType<?> |
getType() |
int |
hashCode() |
java.lang.String |
toCQLLiteral(java.nio.ByteBuffer buffer,
ProtocolVersion version)
Generates CQL literal from a binary value of this type.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isCollection, isUDT
public Custom(AbstractType<?> type)
public Custom(java.lang.String className) throws SyntaxException, ConfigurationException
public AbstractType<?> getType()
public java.lang.String toCQLLiteral(java.nio.ByteBuffer buffer, ProtocolVersion version)
CQL3Type
toCQLLiteral
in interface CQL3Type
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.public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2020 The Apache Software Foundation