Package org.apache.cassandra.cql3
Class CQL3Type.UserDefined
- java.lang.Object
-
- org.apache.cassandra.cql3.CQL3Type.UserDefined
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQL3Type
CQL3Type.Collection, CQL3Type.Custom, CQL3Type.Native, CQL3Type.Raw, CQL3Type.Tuple, CQL3Type.UserDefined
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CQL3Type.UserDefinedcreate(UserType type)booleanequals(java.lang.Object o)AbstractType<?>getType()inthashCode()booleanisUDT()java.lang.StringtoCQLLiteral(java.nio.ByteBuffer buffer, ProtocolVersion version)Generates CQL literal from a binary value of this type.java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cql3.CQL3Type
getUDFType, isCollection
-
-
-
-
Method Detail
-
create
public static CQL3Type.UserDefined create(UserType type)
-
getType
public AbstractType<?> getType()
-
toCQLLiteral
public java.lang.String toCQLLiteral(java.nio.ByteBuffer buffer, ProtocolVersion version)Description copied from interface:CQL3TypeGenerates CQL literal from a binary value of this type.- Specified by:
toCQLLiteralin interfaceCQL3Type- Parameters:
buffer- the value to convert to a CQL literal. This value must be serialized withversionof the native protocol.version- the native protocol version in whichbufferis encoded.
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-