Uses of Class
org.apache.cassandra.db.marshal.AbstractType
-
-
Uses of AbstractType in org.apache.cassandra.auth
Method parameters in org.apache.cassandra.auth with type arguments of type AbstractType Modifier and Type Method Description static FunctionResource
FunctionResource. function(java.lang.String keyspace, java.lang.String name, java.util.List<AbstractType<?>> argTypes)
Creates a FunctionResource representing a specific, keyspace-scoped function.void
AuthSchemaChangeListener. onDropAggregate(java.lang.String ksName, java.lang.String aggregateName, java.util.List<AbstractType<?>> argTypes)
void
AuthSchemaChangeListener. onDropFunction(java.lang.String ksName, java.lang.String functionName, java.util.List<AbstractType<?>> argTypes)
-
Uses of AbstractType in org.apache.cassandra.cql3
Fields in org.apache.cassandra.cql3 declared as AbstractType Modifier and Type Field Description AbstractType<?>
ColumnSpecification. type
Methods in org.apache.cassandra.cql3 that return AbstractType Modifier and Type Method Description static <T> AbstractType<?>
Lists. getExactListTypeIfKnown(java.util.List<T> items, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact ListType from the items if it can be known.static <T> AbstractType<?>
Maps. getExactMapTypeIfKnown(java.util.List<Pair<T,T>> entries, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact MapType from the entries if it can be known.static <T> AbstractType<?>
Sets. getExactSetTypeIfKnown(java.util.List<T> items, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact SetType from the items if it can be known.static <T> AbstractType<?>
Tuples. getExactTupleTypeIfKnown(java.util.List<T> items, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact TupleType from the items if it can be known.AbstractType<?>
AbstractMarker.Raw. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Constants.Literal. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Lists.Literal. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Maps.Literal. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Sets.Literal. getExactTypeIfKnown(java.lang.String keyspace)
abstract AbstractType<?>
Term.Raw. getExactTypeIfKnown(java.lang.String keyspace)
The type of theterm
if it can be infered.AbstractType<?>
Tuples.INRaw. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Tuples.Literal. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Tuples.Raw. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
TypeCast. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
UserTypes.Literal. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Constants.Type. getPreferedTypeFor(java.lang.String text)
Returns the exact type for the specified textAbstractType<?>
CQL3Type.Collection. getType()
AbstractType<?>
CQL3Type.Custom. getType()
AbstractType<?>
CQL3Type. getType()
AbstractType<?>
CQL3Type.Native. getType()
AbstractType<?>
CQL3Type.Tuple. getType()
AbstractType<?>
CQL3Type.UserDefined. getType()
Methods in org.apache.cassandra.cql3 with parameters of type AbstractType Modifier and Type Method Description CqlBuilder
CqlBuilder. append(AbstractType<?> type)
static java.nio.ByteBuffer
Terms. asBytes(java.lang.String keyspace, java.lang.String term, AbstractType type)
static boolean
Tuples. checkIfTupleType(AbstractType<?> tuple)
<T> java.util.List<T>
UntypedResultSet.Row. getFrozenList(java.lang.String column, AbstractType<T> type)
<K,V>
java.util.Map<K,V>UntypedResultSet.Row. getFrozenMap(java.lang.String column, AbstractType<K> keyType, AbstractType<V> valueType)
<T> java.util.Set<T>
UntypedResultSet.Row. getFrozenSet(java.lang.String column, AbstractType<T> type)
static ColumnIdentifier
ColumnIdentifier. getInterned(java.nio.ByteBuffer bytes, AbstractType<?> type)
static ColumnIdentifier
ColumnIdentifier. getInterned(AbstractType<?> type, java.nio.ByteBuffer bytes, java.lang.String text)
<T> java.util.List<T>
UntypedResultSet.Row. getList(java.lang.String column, AbstractType<T> type)
<K,V>
java.util.Map<K,V>UntypedResultSet.Row. getMap(java.lang.String column, AbstractType<K> keyType, AbstractType<V> valueType)
<T> java.util.Set<T>
UntypedResultSet.Row. getSet(java.lang.String column, AbstractType<T> type)
static TupleType
Tuples. getTupleType(AbstractType<?> tuple)
abstract boolean
Operator. isSatisfiedBy(AbstractType<?> type, java.nio.ByteBuffer leftOperand, java.nio.ByteBuffer rightOperand)
Whether 2 values satisfy this operator (given the type they should be compared with).static Terms
Terms. ofListMarker(Lists.Marker marker, AbstractType<?> type)
Creates aTerms
for the specified list marker.Method parameters in org.apache.cassandra.cql3 with type arguments of type AbstractType Modifier and Type Method Description static <T> AbstractType<?>
Lists. getExactListTypeIfKnown(java.util.List<T> items, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact ListType from the items if it can be known.static <T> AbstractType<?>
Maps. getExactMapTypeIfKnown(java.util.List<Pair<T,T>> entries, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact MapType from the entries if it can be known.static <T> AbstractType<?>
Sets. getExactSetTypeIfKnown(java.util.List<T> items, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact SetType from the items if it can be known.static <T> AbstractType<?>
Tuples. getExactTupleTypeIfKnown(java.util.List<T> items, java.util.function.Function<T,AbstractType<?>> mapper)
Returns the exact TupleType from the items if it can be known.Constructors in org.apache.cassandra.cql3 with parameters of type AbstractType Constructor Description ColumnIdentifier(java.nio.ByteBuffer bytes, AbstractType<?> type)
ColumnSpecification(java.lang.String ksName, java.lang.String cfName, ColumnIdentifier name, AbstractType<?> type)
Custom(AbstractType<?> type)
-
Uses of AbstractType in org.apache.cassandra.cql3.conditions
Methods in org.apache.cassandra.cql3.conditions with parameters of type AbstractType Modifier and Type Method Description protected static boolean
ColumnCondition.Bound. compareWithOperator(Operator operator, AbstractType<?> type, java.nio.ByteBuffer value, java.nio.ByteBuffer otherValue)
Returns true if the operator is satisfied (i.e. -
Uses of AbstractType in org.apache.cassandra.cql3.functions
Fields in org.apache.cassandra.cql3.functions declared as AbstractType Modifier and Type Field Description protected AbstractType<?>
AbstractFunction. returnType
Fields in org.apache.cassandra.cql3.functions with type parameters of type AbstractType Modifier and Type Field Description protected java.util.List<AbstractType<?>>
AbstractFunction. argTypes
Methods in org.apache.cassandra.cql3.functions that return AbstractType Modifier and Type Method Description AbstractType<?>
FunctionCall.Raw. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
AbstractFunction. returnType()
AbstractType<?>
Function. returnType()
AbstractType<?>
UDAggregate. stateType()
Methods in org.apache.cassandra.cql3.functions that return types with arguments of type AbstractType Modifier and Type Method Description java.util.List<AbstractType<?>>
AbstractFunction. argTypes()
java.util.List<AbstractType<?>>
Function. argTypes()
Methods in org.apache.cassandra.cql3.functions with parameters of type AbstractType Modifier and Type Method Description static UDAggregate
UDAggregate. create(java.util.Collection<UDFunction> functions, FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, FunctionName stateFunc, FunctionName finalFunc, AbstractType<?> stateType, java.nio.ByteBuffer initcond)
static UDFunction
UDFunction. create(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
static UDFunction
UDFunction. createBrokenFunction(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body, InvalidRequestException reason)
It can happen that a function has been declared (is listed in the scheam) but cannot be loaded (maybe only on some nodes).static DataType
UDHelper. driverType(AbstractType abstractType)
Returns theDataType
for the C* internal type.static Function
FunctionResolver. get(java.lang.String keyspace, FunctionName name, java.util.List<? extends AssignmentTestable> providedArgs, java.lang.String receiverKs, java.lang.String receiverCf, AbstractType<?> receiverType)
static java.lang.String
CastFcts. getFunctionName(AbstractType<?> outputType)
Creates the name of the cast function use to cast to the specified type.static FromJsonFct
FromJsonFct. getInstance(AbstractType<?> returnType)
static boolean
UDHelper. isNullOrEmpty(AbstractType<?> type, java.nio.ByteBuffer bb)
static AggregateFunction
AggregateFcts. makeCountFunction(AbstractType<?> inputType)
Creates a COUNT function for the specified type.static Function
BytesConversionFcts. makeFromBlobFunction(AbstractType<?> toType)
static AggregateFunction
AggregateFcts. makeMaxFunction(AbstractType<?> inputType)
Creates a MAX function for the specified type.static AggregateFunction
AggregateFcts. makeMinFunction(AbstractType<?> inputType)
Creates a MIN function for the specified type.static Function
BytesConversionFcts. makeToBlobFunction(AbstractType<?> fromType)
protected java.lang.String
AbstractFunction. toCqlString(AbstractType<?> type)
Converts the specified type into its CQL representation.static UDFunction
UDFunction. tryCreate(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
Method parameters in org.apache.cassandra.cql3.functions with type arguments of type AbstractType Modifier and Type Method Description static UDAggregate
UDAggregate. create(java.util.Collection<UDFunction> functions, FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, FunctionName stateFunc, FunctionName finalFunc, AbstractType<?> stateType, java.nio.ByteBuffer initcond)
static DataType[]
UDHelper. driverTypes(java.util.List<AbstractType<?>> abstractTypes)
Construct an array containing theDataType
s for the C* internal types.static ToJsonFct
ToJsonFct. getInstance(java.util.List<AbstractType<?>> argTypes)
Constructors in org.apache.cassandra.cql3.functions with parameters of type AbstractType Constructor Description AbstractFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType)
NativeAggregateFunction(java.lang.String name, AbstractType<?> returnType, AbstractType<?>... argTypes)
NativeFunction(java.lang.String name, AbstractType<?> returnType, AbstractType<?>... argTypes)
NativeScalarFunction(java.lang.String name, AbstractType<?> returnType, AbstractType<?>... argsType)
UDAggregate(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, ScalarFunction stateFunc, ScalarFunction finalFunc, java.nio.ByteBuffer initcond)
UDFunction(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, DataType[] argDataTypes, AbstractType<?> returnType, DataType returnDataType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
UDFunction(FunctionName name, java.util.List<ColumnIdentifier> argNames, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, boolean calledOnNullInput, java.lang.String language, java.lang.String body)
Constructor parameters in org.apache.cassandra.cql3.functions with type arguments of type AbstractType Constructor Description AbstractFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType)
UDAggregate(FunctionName name, java.util.List<AbstractType<?>> argTypes, AbstractType<?> returnType, ScalarFunction stateFunc, ScalarFunction finalFunc, java.nio.ByteBuffer initcond)
-
Uses of AbstractType in org.apache.cassandra.cql3.restrictions
Methods in org.apache.cassandra.cql3.restrictions with parameters of type AbstractType Modifier and Type Method Description void
CustomIndexExpression. prepareValue(TableMetadata table, AbstractType<?> expressionType, VariableSpecifications boundNames)
-
Uses of AbstractType in org.apache.cassandra.cql3.selection
Methods in org.apache.cassandra.cql3.selection that return AbstractType Modifier and Type Method Description AbstractType<?>
Selectable.BetweenParenthesesOrWithTuple. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable. getExactTypeIfKnown(java.lang.String keyspace)
The type of theSelectable
if it can be infered.AbstractType<?>
Selectable.WithCast. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithElementSelection. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithFieldSelection. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithFunction. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithList. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithMapOrUdt. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithSet. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithSliceSelection. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithTerm. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithToJSonFunction. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WithTypeHint. getExactTypeIfKnown(java.lang.String keyspace)
AbstractType<?>
Selectable.WritetimeOrTTL. getExactTypeIfKnown(java.lang.String keyspace)
protected abstract AbstractType<?>
Selector.Factory. getReturnType()
Returns the type of the values returned by the selector instances created by this factory.protected AbstractType<?>
SimpleSelector.SimpleSelectorFactory. getReturnType()
abstract AbstractType<?>
Selector. getType()
Returns theSelector
output type.AbstractType<?>
SimpleSelector. getType()
AbstractType<?>
TermSelector. getType()
Constructors in org.apache.cassandra.cql3.selection with parameters of type AbstractType Constructor Description WithTypeHint(java.lang.String typeName, AbstractType<?> type, Selectable selectable)
-
Uses of AbstractType in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return AbstractType Modifier and Type Method Description AbstractType<?>
SerializationHeader.Component. getKeyType()
AbstractType<?>
SerializationHeader. getType(ColumnMetadata column)
AbstractType<?>
SerializationHeader. keyType()
AbstractType<?>
ClusteringComparator. subtype(int i)
Returns the type of the ith clustering column of the table.Methods in org.apache.cassandra.db that return types with arguments of type AbstractType Modifier and Type Method Description java.util.List<AbstractType<?>>
SerializationHeader. clusteringTypes()
java.util.List<AbstractType<?>>
SerializationHeader.Component. getClusteringTypes()
java.util.Map<java.nio.ByteBuffer,AbstractType<?>>
SerializationHeader.Component. getRegularColumns()
java.util.Map<java.nio.ByteBuffer,AbstractType<?>>
SerializationHeader.Component. getStaticColumns()
java.util.List<AbstractType<?>>
ClusteringComparator. subtypes()
The "subtypes" of this clustering comparator, that is the types of the clustering columns for the table this is a comparator of.Methods in org.apache.cassandra.db with parameters of type AbstractType Modifier and Type Method Description static void
DataRange. appendKeyString(java.lang.StringBuilder sb, AbstractType<?> type, java.nio.ByteBuffer key)
static SerializationHeader.Component
SerializationHeader.Component. buildComponentForTools(AbstractType<?> keyType, java.util.List<AbstractType<?>> clusteringTypes, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> staticColumns, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> regularColumns, EncodingStats stats)
Only exposed forSSTableHeaderFix
.static java.lang.String
SchemaCQLHelper. toCqlType(AbstractType<?> type)
Converts the type to a CQL type.Method parameters in org.apache.cassandra.db with type arguments of type AbstractType Modifier and Type Method Description static SerializationHeader.Component
SerializationHeader.Component. buildComponentForTools(AbstractType<?> keyType, java.util.List<AbstractType<?>> clusteringTypes, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> staticColumns, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> regularColumns, EncodingStats stats)
Only exposed forSSTableHeaderFix
.static SerializationHeader.Component
SerializationHeader.Component. buildComponentForTools(AbstractType<?> keyType, java.util.List<AbstractType<?>> clusteringTypes, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> staticColumns, java.util.Map<java.nio.ByteBuffer,AbstractType<?>> regularColumns, EncodingStats stats)
Only exposed forSSTableHeaderFix
.Clustering<byte[]>
Clustering.Serializer. deserialize(java.nio.ByteBuffer in, int version, java.util.List<AbstractType<?>> types)
Clustering<byte[]>
Clustering.Serializer. deserialize(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)
ClusteringBoundOrBoundary<byte[]>
ClusteringBoundOrBoundary.Serializer. deserialize(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)
ClusteringPrefix<byte[]>
ClusteringPrefix.Serializer. deserialize(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)
Slice
Slice.Serializer. deserialize(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)
ClusteringBoundOrBoundary<byte[]>
ClusteringBoundOrBoundary.Serializer. deserializeValues(DataInputPlus in, ClusteringPrefix.Kind kind, int version, java.util.List<AbstractType<?>> types)
java.nio.ByteBuffer
Clustering.Serializer. serialize(Clustering<?> clustering, int version, java.util.List<AbstractType<?>> types)
void
Clustering.Serializer. serialize(Clustering<?> clustering, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)
<T> void
ClusteringBoundOrBoundary.Serializer. serialize(ClusteringBoundOrBoundary<T> bound, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)
void
ClusteringPrefix.Serializer. serialize(ClusteringPrefix<?> clustering, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)
void
Slice.Serializer. serialize(Slice slice, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)
long
Clustering.Serializer. serializedSize(Clustering<?> clustering, int version, java.util.List<AbstractType<?>> types)
<T> long
ClusteringBoundOrBoundary.Serializer. serializedSize(ClusteringBoundOrBoundary<T> bound, int version, java.util.List<AbstractType<?>> types)
long
ClusteringPrefix.Serializer. serializedSize(ClusteringPrefix<?> clustering, int version, java.util.List<AbstractType<?>> types)
long
Slice.Serializer. serializedSize(Slice slice, int version, java.util.List<AbstractType<?>> types)
void
Clustering.Serializer. skip(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)
void
ClusteringPrefix.Serializer. skip(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)
void
ClusteringBoundOrBoundary.Serializer. skipValues(DataInputPlus in, ClusteringPrefix.Kind kind, int version, java.util.List<AbstractType<?>> types)
Constructors in org.apache.cassandra.db with parameters of type AbstractType Constructor Description ClusteringComparator(AbstractType<?>... clusteringTypes)
Constructor parameters in org.apache.cassandra.db with type arguments of type AbstractType Constructor Description ClusteringComparator(java.lang.Iterable<AbstractType<?>> clusteringTypes)
-
Uses of AbstractType in org.apache.cassandra.db.filter
Methods in org.apache.cassandra.db.filter with parameters of type AbstractType Modifier and Type Method Description boolean
RowFilter. partitionKeyRestrictionsAreSatisfiedBy(DecoratedKey key, AbstractType<?> keyValidator)
Returns true if all of the expressions within this filter that apply to the partition key are satisfied by the given key, false otherwise. -
Uses of AbstractType in org.apache.cassandra.db.marshal
Subclasses of AbstractType in org.apache.cassandra.db.marshal Modifier and Type Class Description class
AbstractCompositeType
A class avoiding class duplication between CompositeType and DynamicCompositeType.class
AsciiType
class
BooleanType
class
BytesType
class
ByteType
class
CollectionType<T>
The abstract validator that is the base for maps, sets and lists (both frozen and non-frozen).class
CompositeType
class
CounterColumnType
class
DateType
Deprecated.class
DecimalType
class
DoubleType
class
DurationType
Represents a duration.class
DynamicCompositeType
class
EmptyType
A type that only accept empty data.class
FloatType
class
FrozenType
A fake type that is only used for parsing type strings that include frozen types.class
InetAddressType
class
Int32Type
class
IntegerType
class
LexicalUUIDType
class
ListType<T>
class
LongType
class
MapType<K,V>
class
NumberType<T extends java.lang.Number>
Base type for the numeric types.class
PartitionerDefinedOrder
for sorting columns representing row keys in the row ordering as determined by a partitioner.class
ReversedType<T>
class
SetType<T>
class
ShortType
class
SimpleDateType
class
TemporalType<T>
Base type for temporal types (timestamp, date ...).class
TimestampType
Type for date-time values.class
TimeType
Nanosecond resolution time valuesclass
TimeUUIDType
class
TupleType
This is essentially like a CompositeType, but it's not primarily meant for comparison, just to pack multiple values together so has a more friendly encoding.class
UserType
A user defined type.class
UTF8Type
class
UUIDType
Compares UUIDs using the following criteria:
- if count of supplied bytes is less than 16, compare counts
- compare UUID version fields
- nil UUID is always lesser
- compare timestamps if both are time-based
- compare lexically, unsigned msb-to-lsb comparisonFields in org.apache.cassandra.db.marshal declared as AbstractType Modifier and Type Field Description AbstractType<T>
ReversedType. baseType
Fields in org.apache.cassandra.db.marshal with type parameters of type AbstractType Modifier and Type Field Description java.util.List<AbstractType<?>>
CompositeType. types
protected java.util.List<AbstractType<?>>
TupleType. types
Methods in org.apache.cassandra.db.marshal that return AbstractType Modifier and Type Method Description AbstractType<?>
AbstractType. expandUserTypes()
Replace any instances of UserType with equivalent TupleType-s.AbstractType<?>
CompositeType. expandUserTypes()
AbstractType<?>
DynamicCompositeType. expandUserTypes()
AbstractType<?>
ListType. expandUserTypes()
AbstractType<?>
MapType. expandUserTypes()
AbstractType<?>
ReversedType. expandUserTypes()
AbstractType<?>
SetType. expandUserTypes()
AbstractType<?>
TupleType. expandUserTypes()
AbstractType<?>
UserType. fieldType(int i)
AbstractType<?>
AbstractType. freeze()
AbstractType<?>
ListType. freeze()
AbstractType<?>
MapType. freeze()
AbstractType<?>
SetType. freeze()
AbstractType<?>
AbstractType. freezeNestedMulticellTypes()
Returns an AbstractType instance that is equivalent to this one, but with all nested UDTs and collections explicitly frozen.AbstractType<?>
ListType. freezeNestedMulticellTypes()
AbstractType<?>
MapType. freezeNestedMulticellTypes()
AbstractType<?>
SetType. freezeNestedMulticellTypes()
AbstractType<?>
UserType. freezeNestedMulticellTypes()
AbstractType<?>
AbstractCompositeType.ParsedComparator. getAbstractType()
protected abstract <V> AbstractType<?>
AbstractCompositeType. getAndAppendComparator(int i, V value, ValueAccessor<V> accessor, java.lang.StringBuilder sb, int offset)
Adds type information from @param bb to @param sb.protected <V> AbstractType<?>
CompositeType. getAndAppendComparator(int i, V value, ValueAccessor<V> accessor, java.lang.StringBuilder sb, int offset)
protected <V> AbstractType<?>
DynamicCompositeType. getAndAppendComparator(int i, V value, ValueAccessor<V> accessor, java.lang.StringBuilder sb, int offset)
protected abstract <VL,VR>
AbstractType<?>AbstractCompositeType. getComparator(int i, VL left, ValueAccessor<VL> accessorL, VR right, ValueAccessor<VR> accessorR, int offsetL, int offsetR)
Adds DynamicCompositeType type information from @param bb1 to @param bb2.protected abstract <V> AbstractType<?>
AbstractCompositeType. getComparator(int i, V value, ValueAccessor<V> accessor, int offset)
protected <VL,VR>
AbstractType<?>CompositeType. getComparator(int i, VL left, ValueAccessor<VL> accessorL, VR right, ValueAccessor<VR> accessorR, int offsetL, int offsetR)
protected <V> AbstractType<?>
CompositeType. getComparator(int i, V value, ValueAccessor<V> accessor, int offset)
protected <VL,VR>
AbstractType<?>DynamicCompositeType. getComparator(int i, VL left, ValueAccessor<VL> accessorL, VR right, ValueAccessor<VR> accessorR, int offsetL, int offsetR)
protected <V> AbstractType<?>
DynamicCompositeType. getComparator(int i, V value, ValueAccessor<V> accessor, int offset)
AbstractType<T>
ListType. getElementsType()
AbstractType<T>
SetType. getElementsType()
static AbstractType<?>
FrozenType. getInstance(TypeParser parser)
static AbstractType<?>
PartitionerDefinedOrder. getInstance(TypeParser parser)
AbstractType<K>
MapType. getKeysType()
AbstractType<V>
MapType. getValuesType()
abstract AbstractType<?>
CollectionType. nameComparator()
AbstractType<java.util.UUID>
ListType. nameComparator()
AbstractType<K>
MapType. nameComparator()
AbstractType<T>
SetType. nameComparator()
AbstractType<?>
TypeParser. parse()
Parse an AbstractType from current position of this parser.static AbstractType<?>
TypeParser. parse(java.lang.CharSequence compareWith)
static AbstractType<?>
TypeParser. parse(java.lang.String str)
Parse a string containing an type definition.static AbstractType<?>
AbstractType. parseDefaultParameters(AbstractType<?> baseType, TypeParser parser)
AbstractType<?>
TupleType. type(int i)
protected abstract <V> AbstractType<?>
AbstractCompositeType. validateComparator(int i, V value, ValueAccessor<V> accessor, int offset)
Like getComparator, but validates that @param i does not exceed the defined rangeprotected <V> AbstractType<?>
CompositeType. validateComparator(int i, V value, ValueAccessor<V> accessor, int offset)
protected <V> AbstractType<?>
DynamicCompositeType. validateComparator(int i, V input, ValueAccessor<V> accessor, int offset)
abstract AbstractType<?>
CollectionType. valueComparator()
AbstractType<T>
ListType. valueComparator()
AbstractType<V>
MapType. valueComparator()
AbstractType<?>
SetType. valueComparator()
AbstractType<?>
AbstractType. withUpdatedUserType(UserType udt)
Returns an instance of this type with all references to the provided user type recursively replaced with its new definition.Methods in org.apache.cassandra.db.marshal that return types with arguments of type AbstractType Modifier and Type Method Description java.util.List<AbstractType<?>>
TupleType. allTypes()
java.util.List<AbstractType<?>>
UserType. fieldTypes()
java.util.Map<java.lang.Byte,AbstractType<?>>
TypeParser. getAliasParameters()
java.util.List<AbstractType<?>>
AbstractType. getComponents()
Return a list of the "subcomponents" this type has.java.util.List<AbstractType<?>>
CompositeType. getComponents()
java.util.List<AbstractType<?>>
TypeParser. getTypeParameters()
Pair<Pair<java.lang.String,java.nio.ByteBuffer>,java.util.List<Pair<java.nio.ByteBuffer,AbstractType>>>
TypeParser. getUserTypeParameters()
java.util.List<AbstractType<?>>
AbstractType. subTypes()
java.util.List<AbstractType<?>>
ListType. subTypes()
java.util.List<AbstractType<?>>
MapType. subTypes()
java.util.List<AbstractType<?>>
SetType. subTypes()
java.util.List<AbstractType<?>>
TupleType. subTypes()
Methods in org.apache.cassandra.db.marshal with parameters of type AbstractType Modifier and Type Method Description static <TL,TR>
intMapType. compareMaps(AbstractType<?> keysComparator, AbstractType<?> valuesComparator, TL left, ValueAccessor<TL> accessorL, TR right, ValueAccessor<TR> accessorR)
static CompositeType
CompositeType. getInstance(AbstractType... types)
static <T> ListType<T>
ListType. getInstance(AbstractType<T> elements, boolean isMultiCell)
static <K,V>
MapType<K,V>MapType. getInstance(AbstractType<K> keys, AbstractType<V> values, boolean isMultiCell)
static <T> ReversedType<T>
ReversedType. getInstance(AbstractType<T> baseType)
static <T> SetType<T>
SetType. getInstance(AbstractType<T> elements, boolean isMultiCell)
boolean
AbstractType. isCompatibleWith(AbstractType<?> previous)
Returns true if this comparator is compatible with the provided previous comparator, that is if previous can safely be replaced by this.boolean
BytesType. isCompatibleWith(AbstractType<?> previous)
boolean
CollectionType. isCompatibleWith(AbstractType<?> previous)
boolean
CompositeType. isCompatibleWith(AbstractType<?> previous)
boolean
DateType. isCompatibleWith(AbstractType<?> previous)
Deprecated.boolean
DynamicCompositeType. isCompatibleWith(AbstractType<?> previous)
boolean
ReversedType. isCompatibleWith(AbstractType<?> otherType)
boolean
TimestampType. isCompatibleWith(AbstractType<?> previous)
boolean
TupleType. isCompatibleWith(AbstractType<?> previous)
boolean
UTF8Type. isCompatibleWith(AbstractType<?> previous)
boolean
AbstractType. isValueCompatibleWith(AbstractType<?> otherType)
Returns true if values of the other AbstractType can be read and "reasonably" interpreted by the this AbstractType.boolean
ReversedType. isValueCompatibleWith(AbstractType<?> otherType)
boolean
UserType. isValueCompatibleWith(AbstractType<?> previous)
protected boolean
AbstractType. isValueCompatibleWithInternal(AbstractType<?> otherType)
Needed to handle ReversedType in value-compatibility checks.boolean
BytesType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
CollectionType. isValueCompatibleWithInternal(AbstractType<?> previous)
boolean
CompositeType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
DateType. isValueCompatibleWithInternal(AbstractType<?> otherType)
Deprecated.boolean
DurationType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
IntegerType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
LongType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
SimpleDateType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
TimestampType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
TimeType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
TupleType. isValueCompatibleWithInternal(AbstractType<?> otherType)
boolean
UUIDType. isValueCompatibleWithInternal(AbstractType<?> otherType)
static AbstractType<?>
AbstractType. parseDefaultParameters(AbstractType<?> baseType, TypeParser parser)
static java.lang.String
ListType. setOrListToJsonString(java.nio.ByteBuffer buffer, AbstractType elementsType, ProtocolVersion protocolVersion)
AssignmentTestable.TestResult
AbstractType. testAssignment(AbstractType<?> receiverType)
Tests whether a CQL value having this type can be assigned to the provided receiver.Method parameters in org.apache.cassandra.db.marshal with type arguments of type AbstractType Modifier and Type Method Description static java.util.List<java.lang.String>
AbstractType. asCQLTypeStringList(java.util.List<AbstractType<?>> abstractTypes)
static CompositeType
CompositeType. getInstance(java.lang.Iterable<AbstractType<?>> types)
static CompositeType
CompositeType. getInstance(java.util.List<AbstractType<?>> types)
static DynamicCompositeType
DynamicCompositeType. getInstance(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)
static java.lang.String
TypeParser. stringifyAliasesParameters(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)
Helper function to ease the writing of AbstractType.toString() methods.static java.lang.String
TypeParser. stringifyTypeParameters(java.util.List<AbstractType<?>> types)
Helper function to ease the writing of AbstractType.toString() methods.static java.lang.String
TypeParser. stringifyTypeParameters(java.util.List<AbstractType<?>> types, boolean ignoreFreezing)
Helper function to ease the writing of AbstractType.toString() methods.Constructors in org.apache.cassandra.db.marshal with parameters of type AbstractType Constructor Description SetType(AbstractType<T> elements, boolean isMultiCell)
Constructor parameters in org.apache.cassandra.db.marshal with type arguments of type AbstractType Constructor Description CompositeType(java.util.List<AbstractType<?>> types)
TupleType(java.util.List<AbstractType<?>> types)
TupleType(java.util.List<AbstractType<?>> types, boolean freezeInner)
-
Uses of AbstractType in org.apache.cassandra.db.rows
Methods in org.apache.cassandra.db.rows with parameters of type AbstractType Modifier and Type Method Description static <T,V>
TCells. composeValue(Cell<V> cell, AbstractType<T> type)
static <V> java.lang.String
Cells. valueString(Cell<V> cell, AbstractType<?> type)
-
Uses of AbstractType in org.apache.cassandra.dht
Fields in org.apache.cassandra.dht declared as AbstractType Modifier and Type Field Description static AbstractType<?>
Murmur3Partitioner. partitionOrdering
static AbstractType<?>
RandomPartitioner. partitionOrdering
Methods in org.apache.cassandra.dht that return AbstractType Modifier and Type Method Description AbstractType<?>
ByteOrderedPartitioner. getTokenValidator()
AbstractType<?>
IPartitioner. getTokenValidator()
AbstractType<?>
LocalPartitioner. getTokenValidator()
AbstractType<?>
Murmur3Partitioner. getTokenValidator()
AbstractType<?>
OrderPreservingPartitioner. getTokenValidator()
AbstractType<?>
RandomPartitioner. getTokenValidator()
AbstractType<?>
ByteOrderedPartitioner. partitionOrdering()
AbstractType<?>
IPartitioner. partitionOrdering()
Abstract type that orders the same way as DecoratedKeys provided by this partitioner.AbstractType<?>
LocalPartitioner. partitionOrdering()
AbstractType<?>
Murmur3Partitioner. partitionOrdering()
AbstractType<?>
OrderPreservingPartitioner. partitionOrdering()
AbstractType<?>
RandomPartitioner. partitionOrdering()
Methods in org.apache.cassandra.dht with parameters of type AbstractType Modifier and Type Method Description java.lang.String
AbstractBounds. getString(AbstractType<?> keyValidator)
Constructors in org.apache.cassandra.dht with parameters of type AbstractType Constructor Description LocalPartitioner(AbstractType<?> comparator)
-
Uses of AbstractType in org.apache.cassandra.exceptions
Method parameters in org.apache.cassandra.exceptions with type arguments of type AbstractType Modifier and Type Method Description static OperationExecutionException
OperationExecutionException. create(char operator, java.util.List<AbstractType<?>> argTypes, java.lang.Exception e)
Creates a newOperationExecutionException
for the specified operation. -
Uses of AbstractType in org.apache.cassandra.index
Methods in org.apache.cassandra.index that return AbstractType Modifier and Type Method Description AbstractType<?>
Index. customExpressionValueType()
If the index supports custom search expressions using the SELECT * FROM table WHERE expr(index_name, expression) syntax, this method should return the expected type of the expression argument. -
Uses of AbstractType in org.apache.cassandra.index.internal
Methods in org.apache.cassandra.index.internal that return AbstractType Modifier and Type Method Description AbstractType<?>
CassandraIndex. customExpressionValueType()
default AbstractType<?>
CassandraIndexFunctions. getIndexedValueType(ColumnMetadata indexedColumn)
Returns the type of the the values in the index. -
Uses of AbstractType in org.apache.cassandra.index.sasi
Methods in org.apache.cassandra.index.sasi that return AbstractType Modifier and Type Method Description AbstractType<?>
SASIIndex. customExpressionValueType()
Methods in org.apache.cassandra.index.sasi with parameters of type AbstractType Modifier and Type Method Description int
Term. compareTo(AbstractType<?> comparator, java.nio.ByteBuffer query)
int
Term. compareTo(AbstractType<?> comparator, java.nio.ByteBuffer query, boolean checkFully)
protected static PerSSTableIndexWriter
SASIIndex. newWriter(AbstractType<?> keyValidator, Descriptor descriptor, java.util.Map<ColumnMetadata,ColumnIndex> indexes, OperationType opType)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.analyzer
Methods in org.apache.cassandra.index.sasi.analyzer with parameters of type AbstractType Modifier and Type Method Description abstract void
AbstractAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)
void
DelimiterAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)
void
NonTokenizingAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)
void
NonTokenizingAnalyzer. init(NonTokenizingOptions tokenizerOptions, AbstractType<?> validator)
void
NoOpAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)
void
StandardAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)
void
StandardAnalyzer. init(StandardTokenizerOptions tokenizerOptions, AbstractType<?> validator)
protected abstract boolean
AbstractAnalyzer. isCompatibleWith(AbstractType<?> validator)
Test whether the given validator is compatible with the underlying analyzer.boolean
DelimiterAnalyzer. isCompatibleWith(AbstractType<?> validator)
boolean
NonTokenizingAnalyzer. isCompatibleWith(AbstractType<?> validator)
boolean
NoOpAnalyzer. isCompatibleWith(AbstractType<?> validator)
boolean
StandardAnalyzer. isCompatibleWith(AbstractType<?> validator)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.conf
Methods in org.apache.cassandra.index.sasi.conf that return AbstractType Modifier and Type Method Description AbstractType<?>
ColumnIndex. getValidator()
AbstractType<?>
ColumnIndex. keyValidator()
Methods in org.apache.cassandra.index.sasi.conf with parameters of type AbstractType Modifier and Type Method Description AbstractAnalyzer
IndexMode. getAnalyzer(AbstractType<?> validator)
Constructors in org.apache.cassandra.index.sasi.conf with parameters of type AbstractType Constructor Description ColumnIndex(AbstractType<?> keyValidator, ColumnMetadata column, IndexMetadata metadata)
DataTracker(AbstractType<?> keyValidator, ColumnIndex index)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.conf.view
Fields in org.apache.cassandra.index.sasi.conf.view declared as AbstractType Modifier and Type Field Description protected AbstractType<?>
RangeTermTree. comparator
protected AbstractType<?>
TermTree.Builder. comparator
Constructors in org.apache.cassandra.index.sasi.conf.view with parameters of type AbstractType Constructor Description Builder(OnDiskIndexBuilder.Mode mode, AbstractType<?> comparator)
Builder(OnDiskIndexBuilder.Mode mode, AbstractType<?> comparator)
PrefixTermTree(java.nio.ByteBuffer min, java.nio.ByteBuffer max, Trie<java.nio.ByteBuffer,java.util.Set<SSTableIndex>> trie, IntervalTree<RangeTermTree.Term,SSTableIndex,Interval<RangeTermTree.Term,SSTableIndex>> ranges, OnDiskIndexBuilder.Mode mode, AbstractType<?> comparator)
RangeTermTree(java.nio.ByteBuffer min, java.nio.ByteBuffer max, IntervalTree<RangeTermTree.Term,SSTableIndex,Interval<RangeTermTree.Term,SSTableIndex>> rangeTree, AbstractType<?> comparator)
Term(java.nio.ByteBuffer term, AbstractType<?> comparator)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.disk
Fields in org.apache.cassandra.index.sasi.disk declared as AbstractType Modifier and Type Field Description protected AbstractType<?>
OnDiskIndex. comparator
Methods in org.apache.cassandra.index.sasi.disk that return AbstractType Modifier and Type Method Description AbstractType<?>
OnDiskIndex. getComparator()
Methods in org.apache.cassandra.index.sasi.disk with parameters of type AbstractType Modifier and Type Method Description OnDiskBlock.SearchResult<T>
OnDiskBlock. search(AbstractType<?> comparator, java.nio.ByteBuffer query)
static OnDiskIndexBuilder.TermSize
OnDiskIndexBuilder.TermSize. sizeOf(AbstractType<?> comparator)
Constructors in org.apache.cassandra.index.sasi.disk with parameters of type AbstractType Constructor Description OnDiskIndex(java.io.File index, AbstractType<?> cmp, com.google.common.base.Function<java.lang.Long,DecoratedKey> keyReader)
OnDiskIndexBuilder(AbstractType<?> keyComparator, AbstractType<?> comparator, OnDiskIndexBuilder.Mode mode)
OnDiskIndexBuilder(AbstractType<?> keyComparator, AbstractType<?> comparator, OnDiskIndexBuilder.Mode mode, boolean marksPartials)
PerSSTableIndexWriter(AbstractType<?> keyValidator, Descriptor descriptor, OperationType source, java.util.Map<ColumnMetadata,ColumnIndex> supportedIndexes)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.memory
Fields in org.apache.cassandra.index.sasi.memory declared as AbstractType Modifier and Type Field Description protected AbstractType<?>
MemIndex. keyValidator
Methods in org.apache.cassandra.index.sasi.memory with parameters of type AbstractType Modifier and Type Method Description static MemIndex
MemIndex. forColumn(AbstractType<?> keyValidator, ColumnIndex columnIndex)
Constructors in org.apache.cassandra.index.sasi.memory with parameters of type AbstractType Constructor Description MemIndex(AbstractType<?> keyValidator, ColumnIndex columnIndex)
SkipListMemIndex(AbstractType<?> keyValidator, ColumnIndex columnIndex)
TrieMemIndex(AbstractType<?> keyValidator, ColumnIndex columnIndex)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.plan
Fields in org.apache.cassandra.index.sasi.plan declared as AbstractType Modifier and Type Field Description AbstractType<?>
Expression. validator
Methods in org.apache.cassandra.index.sasi.plan that return AbstractType Modifier and Type Method Description AbstractType<?>
QueryController. getKeyValidator()
Constructors in org.apache.cassandra.index.sasi.plan with parameters of type AbstractType Constructor Description Expression(java.lang.String name, AbstractType<?> validator)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.sa
Fields in org.apache.cassandra.index.sasi.sa declared as AbstractType Modifier and Type Field Description protected AbstractType<?>
SA. comparator
Methods in org.apache.cassandra.index.sasi.sa with parameters of type AbstractType Modifier and Type Method Description int
ByteTerm. compareTo(AbstractType<?> comparator, Term other)
int
CharTerm. compareTo(AbstractType<?> comparator, Term other)
abstract int
Term. compareTo(AbstractType<?> comparator, Term other)
Constructors in org.apache.cassandra.index.sasi.sa with parameters of type AbstractType Constructor Description IntegralSA(AbstractType<?> comparator, OnDiskIndexBuilder.Mode mode)
SA(AbstractType<?> comparator, OnDiskIndexBuilder.Mode mode)
SuffixSA(AbstractType<?> comparator, OnDiskIndexBuilder.Mode mode)
-
Uses of AbstractType in org.apache.cassandra.index.sasi.utils
Methods in org.apache.cassandra.index.sasi.utils with parameters of type AbstractType Modifier and Type Method Description int
MappedBuffer. comparePageTo(long offset, int length, AbstractType<?> comparator, java.nio.ByteBuffer other)
static boolean
TypeUtil. isValid(java.nio.ByteBuffer term, AbstractType<?> validator)
static java.nio.ByteBuffer
TypeUtil. tryUpcast(java.nio.ByteBuffer term, AbstractType<?> validator)
Constructors in org.apache.cassandra.index.sasi.utils with parameters of type AbstractType Constructor Description CombinedTerm(AbstractType<?> comparator, OnDiskIndex.DataTerm term)
-
Uses of AbstractType in org.apache.cassandra.io.sstable
Constructor parameters in org.apache.cassandra.io.sstable with type arguments of type AbstractType Constructor Description Serializer(Version version, java.util.List<AbstractType<?>> clusteringTypes)
-
Uses of AbstractType in org.apache.cassandra.schema
Fields in org.apache.cassandra.schema declared as AbstractType Modifier and Type Field Description AbstractType<?>
TableMetadata. partitionKeyType
Methods in org.apache.cassandra.schema that return AbstractType Modifier and Type Method Description AbstractType<?>
ColumnMetadata. cellValueType()
The type of the cell values for cell belonging to this column.AbstractType<?>
TableMetadata.CompactTableMetadata. columnDefinitionNameComparator(ColumnMetadata.Kind kind)
AbstractType<?>
ColumnMetadata. getExactTypeIfKnown(java.lang.String keyspace)
static AbstractType<?>
CQLTypeParser. parse(java.lang.String keyspace, java.lang.String unparsed, Types userTypes)
Methods in org.apache.cassandra.schema with parameters of type AbstractType Modifier and Type Method Description TableMetadata.Builder
TableMetadata.Builder. addClusteringColumn(java.lang.String name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addClusteringColumn(ColumnIdentifier name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addPartitionKeyColumn(java.lang.String name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addPartitionKeyColumn(ColumnIdentifier name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addRegularColumn(java.lang.String name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addRegularColumn(ColumnIdentifier name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addStaticColumn(java.lang.String name, AbstractType type)
TableMetadata.Builder
TableMetadata.Builder. addStaticColumn(ColumnIdentifier name, AbstractType type)
static ColumnMetadata
ColumnMetadata. clusteringColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type, int position)
static ColumnMetadata
ColumnMetadata. clusteringColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position)
Selector.Factory
ColumnMetadata. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)
static ColumnMetadata
ColumnMetadata. partitionKeyColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type, int position)
static ColumnMetadata
ColumnMetadata. partitionKeyColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position)
TableMetadata.Builder
TableMetadata.Builder. recordDeprecatedSystemColumn(java.lang.String name, AbstractType<?> type)
Records a deprecated column for a system table.static ColumnMetadata
ColumnMetadata. regularColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type)
static ColumnMetadata
ColumnMetadata. regularColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type)
static ColumnMetadata
ColumnMetadata. staticColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type)
static ColumnMetadata
ColumnMetadata. staticColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type)
static int
Functions. typeHashCode(AbstractType<?> t)
ColumnMetadata
ColumnMetadata. withNewType(AbstractType<?> newType)
Method parameters in org.apache.cassandra.schema with type arguments of type AbstractType Modifier and Type Method Description java.util.Optional<Function>
Functions. find(FunctionName name, java.util.List<AbstractType<?>> argTypes)
java.util.Optional<Function>
Functions. find(FunctionName name, java.util.List<AbstractType<?>> argTypes, Functions.Filter filter)
Find the function with the specified namejava.util.Optional<Function>
Schema. findFunction(FunctionName name, java.util.List<AbstractType<?>> argTypes)
Find the function with the specified namevoid
SchemaChangeListener. onAlterAggregate(java.lang.String keyspace, java.lang.String aggregate, java.util.List<AbstractType<?>> argumentTypes)
void
SchemaChangeListener. onAlterFunction(java.lang.String keyspace, java.lang.String function, java.util.List<AbstractType<?>> argumentTypes)
void
SchemaChangeListener. onCreateAggregate(java.lang.String keyspace, java.lang.String aggregate, java.util.List<AbstractType<?>> argumentTypes)
void
SchemaChangeListener. onCreateFunction(java.lang.String keyspace, java.lang.String function, java.util.List<AbstractType<?>> argumentTypes)
void
SchemaChangeListener. onDropAggregate(java.lang.String keyspace, java.lang.String aggregate, java.util.List<AbstractType<?>> argumentTypes)
void
SchemaChangeListener. onDropFunction(java.lang.String keyspace, java.lang.String function, java.util.List<AbstractType<?>> argumentTypes)
static int
Functions. typeHashCode(java.util.List<AbstractType<?>> types)
static boolean
Functions. typesMatch(java.util.List<AbstractType<?>> t1, java.util.List<AbstractType<?>> t2)
Functions
Functions. without(FunctionName name, java.util.List<AbstractType<?>> argTypes)
Creates a Functions instance with the function with the provided name and argument types removedConstructors in org.apache.cassandra.schema with parameters of type AbstractType Constructor Description ColumnMetadata(java.lang.String ksName, java.lang.String cfName, ColumnIdentifier name, AbstractType<?> type, int position, ColumnMetadata.Kind kind)
ColumnMetadata(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position, ColumnMetadata.Kind kind)
-
Uses of AbstractType in org.apache.cassandra.serializers
Methods in org.apache.cassandra.serializers with parameters of type AbstractType Modifier and Type Method Description abstract java.nio.ByteBuffer
CollectionSerializer. getSerializedValue(java.nio.ByteBuffer collection, java.nio.ByteBuffer key, AbstractType<?> comparator)
Extract an element from a serialized collection.java.nio.ByteBuffer
ListSerializer. getSerializedValue(java.nio.ByteBuffer collection, java.nio.ByteBuffer key, AbstractType<?> comparator)
java.nio.ByteBuffer
MapSerializer. getSerializedValue(java.nio.ByteBuffer collection, java.nio.ByteBuffer key, AbstractType<?> comparator)
java.nio.ByteBuffer
SetSerializer. getSerializedValue(java.nio.ByteBuffer input, java.nio.ByteBuffer key, AbstractType<?> comparator)
abstract java.nio.ByteBuffer
CollectionSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen)
Returns the slice of a collection directly from its serialized value.java.nio.ByteBuffer
ListSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen)
java.nio.ByteBuffer
MapSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen)
java.nio.ByteBuffer
SetSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen)
-
Uses of AbstractType in org.apache.cassandra.transport
Methods in org.apache.cassandra.transport that return AbstractType Modifier and Type Method Description static AbstractType
DataType. toType(Pair<DataType,java.lang.Object> entry)
Methods in org.apache.cassandra.transport with parameters of type AbstractType Modifier and Type Method Description static Pair<DataType,java.lang.Object>
DataType. fromType(AbstractType type, ProtocolVersion version)
Method parameters in org.apache.cassandra.transport with type arguments of type AbstractType Modifier and Type Method Description void
Server.EventNotifier. onAlterAggregate(java.lang.String ksName, java.lang.String aggregateName, java.util.List<AbstractType<?>> argTypes)
void
Server.EventNotifier. onAlterFunction(java.lang.String ksName, java.lang.String functionName, java.util.List<AbstractType<?>> argTypes)
void
Server.EventNotifier. onCreateAggregate(java.lang.String ksName, java.lang.String aggregateName, java.util.List<AbstractType<?>> argTypes)
void
Server.EventNotifier. onCreateFunction(java.lang.String ksName, java.lang.String functionName, java.util.List<AbstractType<?>> argTypes)
void
Server.EventNotifier. onDropAggregate(java.lang.String ksName, java.lang.String aggregateName, java.util.List<AbstractType<?>> argTypes)
void
Server.EventNotifier. onDropFunction(java.lang.String ksName, java.lang.String functionName, java.util.List<AbstractType<?>> argTypes)
-