Struct cassandra_cpp::DataType
source · [−]pub struct DataType(_);
Expand description
Any cassandra datatype
Implementations
Creates a new data type from an existing data type.
Creates a new data type from an existing data type.
Creates a new UDT (user defined type) data type.
Gets the value type of the specified data type.
Gets the type name of a UDT data type.
Sets the type name of a UDT data type.
Note: Only valid for UDT data types.
Gets the type name of a UDT data type.
Note: Only valid for UDT data types.
Sets the keyspace of a UDT data type.
Note: Only valid for UDT data types.
Gets the class name of a custom data type.
Note: Only valid for custom data types.
Sets the class name of a custom data type.
Note: Only valid for custom data types.
Gets the sub-data type count of a UDT (user defined type), tuple or collection.
Note: Only valid for UDT, tuple and collection data types.
Gets the sub-data type of a UDT (user defined type), tuple or collection at the specified index.
Note: Only valid for UDT, tuple and collection data types.
pub fn sub_data_type_by_name<S>(data_type: DataType, name: S) -> ConstDataType where
S: Into<String>,
pub fn sub_data_type_by_name<S>(data_type: DataType, name: S) -> ConstDataType where
S: Into<String>,
Gets the sub-data type of a UDT (user defined type) at the specified index.
Note: Only valid for UDT data types.
Gets the sub-type name of a UDT (user defined type) at the specified index.
Note: Only valid for UDT data types.
Adds a sub-data type to a tuple or collection.
Note: Only valid for tuple and collection data types.
Gets the sub-data type of a UDT (user defined type) at the specified index.
Note: Only valid for UDT data types.
Adds a sub-data type to a tuple or collection using a value type.
Note: Only valid for tuple and collection data types.