Package org.apache.cassandra.cql3
Interface CQL3Type
-
- All Known Implementing Classes:
CQL3Type.Collection,CQL3Type.Custom,CQL3Type.Native,CQL3Type.Tuple,CQL3Type.UserDefined
public interface CQL3Type
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCQL3Type.Collectionstatic classCQL3Type.Customstatic classCQL3Type.Nativestatic classCQL3Type.Rawstatic classCQL3Type.Tuplestatic classCQL3Type.UserDefined
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlogger
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AbstractType<?>getType()default AbstractType<?>getUDFType()default booleanisCollection()default booleanisUDT()java.lang.StringtoCQLLiteral(java.nio.ByteBuffer bytes, ProtocolVersion version)Generates CQL literal from a binary value of this type.
-
-
-
Method Detail
-
isCollection
default boolean isCollection()
-
isUDT
default boolean isUDT()
-
getType
AbstractType<?> getType()
-
getUDFType
default AbstractType<?> getUDFType()
-
toCQLLiteral
java.lang.String toCQLLiteral(java.nio.ByteBuffer bytes, ProtocolVersion version)Generates CQL literal from a binary value of this type.- Parameters:
bytes- 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.
-
-