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, waitisCollection, isUDTpublic 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)
CQL3TypetoCQLLiteral in interface CQL3Typebuffer - 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.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation