CQL3Type.Collection, CQL3Type.Custom, CQL3Type.Native, CQL3Type.Raw, CQL3Type.Tuple, CQL3Type.UserDefined| Modifier and Type | Method and Description |
|---|---|
static CQL3Type.UserDefined |
create(UserType type) |
boolean |
equals(java.lang.Object o) |
AbstractType<?> |
getType() |
int |
hashCode() |
boolean |
isUDT() |
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, waitisCollectionpublic static CQL3Type.UserDefined create(UserType type)
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