Uses of Class
org.apache.cassandra.cql3.functions.types.TypeCodec
Packages that use TypeCodec
Package
Description
Contains pieces of the Java Driver that are needed to handle data types
in C* User-Defined-Functions/Aggregates.
-
Uses of TypeCodec in org.apache.cassandra.cql3.functions.types
Subclasses of TypeCodec in org.apache.cassandra.cql3.functions.typesModifier and TypeClassDescriptionstatic classTypeCodec.AbstractCollectionCodec<E,C extends Collection<E>> static classstatic classBase class for codecs mapping CQLtuplesto Java objects.static classBase class for codecs mapping CQLuser-defined types(UDTs) to Java objects.static classA codec that is capable of handling primitive booleans, thus avoiding the overhead of boxing and unboxing such primitives.static classA codec that is capable of handling primitive bytes, thus avoiding the overhead of boxing and unboxing such primitives.static classA codec that is capable of handling primitive doubles, thus avoiding the overhead of boxing and unboxing such primitives.static classA codec that is capable of handling primitive floats, thus avoiding the overhead of boxing and unboxing such primitives.static classA codec that is capable of handling primitive ints, thus avoiding the overhead of boxing and unboxing such primitives.static classA codec that is capable of handling primitive longs, thus avoiding the overhead of boxing and unboxing such primitives.static classA codec that is capable of handling primitive shorts, thus avoiding the overhead of boxing and unboxing such primitives.classVectorCodec<E>TypeCodecfor the CQL typevector.Fields in org.apache.cassandra.cql3.functions.types declared as TypeCodecMethods in org.apache.cassandra.cql3.functions.types that return TypeCodecModifier and TypeMethodDescriptionTypeCodec.ascii()Return the default codec for the CQL typeascii.static TypeCodec<ByteBuffer>TypeCodec.blob()Return the default codec for the CQL typeblob.<T> TypeCodec<T><T> TypeCodec<T><T> TypeCodec<T><T> TypeCodec<T><T> TypeCodec<T>CodecRegistry.codecFor(T value) Returns acodecthat accepts the given value.static TypeCodec<ByteBuffer>TypeCodec.custom(DataType.CustomType type) Return a newly-created codec for the given CQL custom type.TypeCodec.date()Return the default codec for the CQL typedate.static TypeCodec<BigDecimal>TypeCodec.decimal()Return the default codec for the CQL typedecimal.TypeCodec.duration()Returns the default codec for theDuration type.static TypeCodec<InetAddress>TypeCodec.inet()Return the default codec for the CQL typeinet.Return a newly-created codec for the CQL typelistwhose element type is determined by the given element codec.Return a newly-created codec for the CQL typemapwhose key type and value type are determined by the given codecs.Return a newly-created codec for the CQL typesetwhose element type is determined by the given element codec.TypeCodec.timestamp()Return the default codec for the CQL typetimestamp.TypeCodec.timeUUID()Return the default codec for the CQL typetimeuuid.static TypeCodec<TupleValue>Return a newly-created codec for the given CQL tuple type.Return a newly-created codec for the given user-defined CQL type.TypeCodec.uuid()Return the default codec for the CQL typeuuid.TypeCodec.varchar()Return the default codec for the CQL typevarchar.static TypeCodec<BigInteger>TypeCodec.varint()Return the default codec for the CQL typevarint.TypeCodec.vector(VectorType type, TypeCodec<E> valueCodec) Return a newly-created codec for the given CQL vector type.Methods in org.apache.cassandra.cql3.functions.types with parameters of type TypeCodecModifier and TypeMethodDescription<T> TReturns the value fornameconverted using the givenTypeCodec.<T> TReturns theith value converted using the givenTypeCodec.<T> TReturns the value fornameconverted using the givenTypeCodec.Return a newly-created codec for the CQL typelistwhose element type is determined by the given element codec.Return a newly-created codec for the CQL typemapwhose key type and value type are determined by the given codecs.static <E> VectorCodec<E>VectorCodec.of(VectorType type, TypeCodec<E> subtypeCodec) Register the given codec with this registry.Register the given codecs with this registry.<V> TSets theith value to the provided value, converted using the givenTypeCodec.<V> TSets the value for (all occurrences of) variablenameto the provided value, converted using the givenTypeCodec.Return a newly-created codec for the CQL typesetwhose element type is determined by the given element codec.TypeCodec.vector(VectorType type, TypeCodec<E> valueCodec) Return a newly-created codec for the given CQL vector type.Method parameters in org.apache.cassandra.cql3.functions.types with type arguments of type TypeCodecModifier and TypeMethodDescriptionRegister the given codecs with this registry. -
Uses of TypeCodec in org.apache.cassandra.utils
Methods in org.apache.cassandra.utils that return TypeCodec