Uses of Class
org.apache.cassandra.cql3.functions.types.DataType
Packages that use DataType
Package
Description
Contains pieces of the Java Driver that are needed to handle data types
in C* User-Defined-Functions/Aggregates.
-
Uses of DataType in org.apache.cassandra.cql3.functions
Methods in org.apache.cassandra.cql3.functions that return DataTypeModifier and TypeMethodDescriptionUDFDataType.toDataType()Converts this type into the corresponding Java driver type. -
Uses of DataType in org.apache.cassandra.cql3.functions.types
Subclasses of DataType in org.apache.cassandra.cql3.functions.typesModifier and TypeClassDescriptionstatic classInstances of this class represent collection types, that is, lists, sets or maps.static classA "custom" type is a type that cannot be expressed as a CQL type.static classInstances of this class represent CQL native types, also known as CQL primitive types.classA tuple type.classA User Defined Type (UDT).classA vector type.Methods in org.apache.cassandra.cql3.functions.types that return DataTypeModifier and TypeMethodDescriptionstatic DataTypeDataType.ascii()Returns the ASCII type.static DataTypeDataType.bigint()Returns the BIGINT type.static DataTypeDataType.blob()Returns the BLOB type.static DataTypeDataType.cboolean()Returns the BOOLEAN type.static DataTypeDataType.cdouble()Returns the DOUBLE type.static DataTypeDataType.cfloat()Returns the FLOAT type.static DataTypeDataType.cint()Returns the INT type.static DataTypeDataType.counter()Returns the COUNTER type.static DataTypeDataType.date()Returns the DATE type.static DataTypeDataType.decimal()Returns the DECIMAL type.static DataTypeDataType.duration()Returns the Duration type, introduced in Cassandra 3.10.TypeCodec.getCqlType()Return the CQL type that this codec deserializes from and serializes to.VectorType.getSubtype()protected DataTypeTupleValue.getType(int i) protected DataTypeUDTValue.getType(int i) UserType.Field.getType()Returns the type of the field.static DataTypeDataType.inet()Returns the INET type.static DataTypeDataTypeClassNameParser.parseOne(String className, ProtocolVersion protocolVersion, CodecRegistry codecRegistry) static DataTypeDataType.smallint()Returns the SMALLINT type.static DataTypeDataType.text()Returns the TEXT type.static DataTypeDataType.time()Returns the TIME type.static DataTypeDataType.timestamp()Returns the TIMESTAMP type.static DataTypeDataType.timeuuid()Returns the TIMEUUID type.static DataTypeDataType.tinyint()Returns the TINYINT type.static DataTypeDataType.uuid()Returns the UUID type.static DataTypeDataType.varchar()Returns the VARCHAR type.static DataTypeDataType.varint()Returns the VARINT type.Methods in org.apache.cassandra.cql3.functions.types that return types with arguments of type DataTypeModifier and TypeMethodDescriptionDataType.CollectionType.getTypeArguments()DataType.getTypeArguments()Returns the type arguments of this type.VectorType.getTypeArguments()Methods in org.apache.cassandra.cql3.functions.types with parameters of type DataTypeModifier and TypeMethodDescriptionbooleanbooleanReturntrueif this codec is capable of deserializing the givencqlType.<T> TypeCodec<T><T> TypeCodec<T><T> TypeCodec<T><T> TypeCodec<T>static DataType.CollectionTypeReturns the type of "not frozen" lists ofelementTypeelements.static DataType.CollectionTypeReturns the type of lists ofelementTypeelements.static DataType.CollectionTypeReturns the type of "not frozen" maps ofkeyTypetovalueTypeelements.static DataType.CollectionTypeReturns the type of maps ofkeyTypetovalueTypeelements.static TupleTypeTupleType.of(ProtocolVersion protocolVersion, CodecRegistry codecRegistry, DataType... types) Creates a "disconnected" tuple type (you should preferMetadata#newTupleType(DataType...) cluster.getMetadata().newTupleType(...)whenever possible).static DataType.CollectionTypeReturns the type of "not frozen" sets ofelementTypeelements.static DataType.CollectionTypeReturns the type of sets ofelementTypeelements.static VectorTypeReturns the type of vector ofelementTypeelements withdimensionsdimensions.Constructors in org.apache.cassandra.cql3.functions.types with parameters of type DataType -
Uses of DataType in org.apache.cassandra.utils
Methods in org.apache.cassandra.utils that return DataTypeModifier and TypeMethodDescriptionstatic DataTypeJavaDriverUtils.driverType(AbstractType<?> abstractType) Returns the Java DriverDataTypefor the C* internal type.Methods in org.apache.cassandra.utils with parameters of type DataType