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() |
boolean |
isCollection() |
void |
toCQLLiteral(java.nio.ByteBuffer buffer,
int version,
java.lang.StringBuilder target)
Generate CQL literal from this type's serialized representation using the specified protocol version.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
asCQLLiteral
public Custom(AbstractType<?> type)
public Custom(java.lang.String className) throws SyntaxException, ConfigurationException
public boolean isCollection()
isCollection
in interface CQL3Type
public AbstractType<?> getType()
public void toCQLLiteral(java.nio.ByteBuffer buffer, int version, java.lang.StringBuilder target)
CQL3Type
TypeSerializer.toCQLLiteral(ByteBuffer, StringBuilder)
.toCQLLiteral
in interface CQL3Type
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 © 2015 The Apache Software Foundation