CQL3Type.Collection, CQL3Type.Custom, CQL3Type.Native, CQL3Type.Raw, CQL3Type.Tuple, CQL3Type.UserDefined| Modifier and Type | Method and Description |
|---|---|
static CQL3Type.Tuple |
create(TupleType type) |
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() |
java.lang.String |
toString(boolean withFrozen) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitisCollection, isUDTpublic static CQL3Type.Tuple create(TupleType 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.Objectpublic java.lang.String toString(boolean withFrozen)
Copyright © 2009-2022 The Apache Software Foundation