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 FunctionResourceFunctionResource. function(java.lang.String keyspace, java.lang.String name, java.util.List<AbstractType<?>> argTypes)Creates a FunctionResource representing a specific, keyspace-scoped function. -
Uses of AbstractType in org.apache.cassandra.cql3
Fields in org.apache.cassandra.cql3 declared as AbstractType Modifier and Type Field Description AbstractType<?>ColumnSpecification. typeMethods 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 thetermif 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()default AbstractType<?>CQL3Type. getUDFType()AbstractType<?>CQL3Type.Native. getUDFType()Methods in org.apache.cassandra.cql3 with parameters of type AbstractType Modifier and Type Method Description CqlBuilderCqlBuilder. append(AbstractType<?> type)static java.nio.ByteBufferTerms. asBytes(java.lang.String keyspace, java.lang.String term, AbstractType type)static booleanTuples. 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 ColumnIdentifierColumnIdentifier. getInterned(java.nio.ByteBuffer bytes, AbstractType<?> type)static ColumnIdentifierColumnIdentifier. 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 TupleTypeTuples. getTupleType(AbstractType<?> tuple)abstract booleanOperator. 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 TermsTerms. ofListMarker(Lists.Marker marker, AbstractType<?> type)Creates aTermsfor 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 booleanColumnCondition.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. returnTypeFields in org.apache.cassandra.cql3.functions with type parameters of type AbstractType Modifier and Type Field Description protected java.util.List<AbstractType<?>>AbstractFunction. argTypesMethods 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 UDAggregateUDAggregate. 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 UDFunctionUDFunction. 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 UDFunctionUDFunction. 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 DataTypeUDHelper. driverType(AbstractType abstractType)Returns theDataTypefor the C* internal type.static FunctionFunctionResolver. 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.StringCastFcts. getFunctionName(AbstractType<?> outputType)Creates the name of the cast function use to cast to the specified type.static FromJsonFctFromJsonFct. getInstance(AbstractType<?> returnType)static booleanUDHelper. isNullOrEmpty(AbstractType<?> type, java.nio.ByteBuffer bb)static AggregateFunctionAggregateFcts. makeCountFunction(AbstractType<?> inputType)Creates a COUNT function for the specified type.static FunctionBytesConversionFcts. makeFromBlobFunction(AbstractType<?> toType)static AggregateFunctionAggregateFcts. makeMaxFunction(AbstractType<?> inputType)Creates a MAX function for the specified type.static AggregateFunctionAggregateFcts. makeMinFunction(AbstractType<?> inputType)Creates a MIN function for the specified type.static FunctionBytesConversionFcts. makeToBlobFunction(AbstractType<?> fromType)protected java.lang.StringAbstractFunction. toCqlString(AbstractType<?> type)Converts the specified type into its CQL representation.static UDFunctionUDFunction. 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 UDAggregateUDAggregate. 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 theDataTypes for the C* internal types.static ToJsonFctToJsonFct. 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 voidCustomIndexExpression. 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 theSelectableif 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 theSelectoroutput type.AbstractType<?>SimpleSelector. getType()AbstractType<?>TermSelector. getType()protected AbstractType<?>Selector.SelectorDeserializer. readType(KeyspaceMetadata keyspace, DataInputPlus in)protected AbstractType<?>Selector.SelectorDeserializer. readType(TableMetadata metadata, DataInputPlus in)Methods in org.apache.cassandra.cql3.selection with parameters of type AbstractType Modifier and Type Method Description static Selector.FactoryTermSelector. newFactory(java.lang.String name, Term term, AbstractType<?> type)Selector.FactorySelectable.BetweenParenthesesOrWithTuple. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithCast. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithElementSelection. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithFieldSelection. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithFunction. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithList. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithMapOrUdt. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithSet. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithSliceSelection. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithTerm. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithToJSonFunction. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithTypeHint. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WritetimeOrTTL. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)protected static intSelector. sizeOf(AbstractType<?> type)protected static voidSelector. writeType(DataOutputPlus out, AbstractType<?> type)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 voidDataRange. appendKeyString(java.lang.StringBuilder sb, AbstractType<?> type, java.nio.ByteBuffer key)static SerializationHeader.ComponentSerializationHeader.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.StringSchemaCQLHelper. 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.ComponentSerializationHeader.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.ComponentSerializationHeader.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)SliceSlice.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.ByteBufferClustering.Serializer. serialize(Clustering<?> clustering, int version, java.util.List<AbstractType<?>> types)voidClustering.Serializer. serialize(Clustering<?> clustering, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)<T> voidClusteringBoundOrBoundary.Serializer. serialize(ClusteringBoundOrBoundary<T> bound, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)voidClusteringPrefix.Serializer. serialize(ClusteringPrefix<?> clustering, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)voidSlice.Serializer. serialize(Slice slice, DataOutputPlus out, int version, java.util.List<AbstractType<?>> types)longClustering.Serializer. serializedSize(Clustering<?> clustering, int version, java.util.List<AbstractType<?>> types)<T> longClusteringBoundOrBoundary.Serializer. serializedSize(ClusteringBoundOrBoundary<T> bound, int version, java.util.List<AbstractType<?>> types)longClusteringPrefix.Serializer. serializedSize(ClusteringPrefix<?> clustering, int version, java.util.List<AbstractType<?>> types)longSlice.Serializer. serializedSize(Slice slice, int version, java.util.List<AbstractType<?>> types)voidClustering.Serializer. skip(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)voidClusteringPrefix.Serializer. skip(DataInputPlus in, int version, java.util.List<AbstractType<?>> types)voidClusteringBoundOrBoundary.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 booleanRowFilter. 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 classAbstractCompositeTypeA class avoiding class duplication between CompositeType and DynamicCompositeType.classAbstractTimeUUIDType<T>classAsciiTypeclassBooleanTypeclassBytesTypeclassByteTypeclassCollectionType<T>The abstract validator that is the base for maps, sets and lists (both frozen and non-frozen).classCompositeTypeclassCounterColumnTypeclassDateTypeDeprecated.classDecimalTypeclassDoubleTypeclassDurationTypeRepresents a duration.classDynamicCompositeTypestatic classDynamicCompositeType.FixedValueComparatorclassEmptyTypeA type that only accept empty data.classFloatTypeclassFrozenTypeA fake type that is only used for parsing type strings that include frozen types.classInetAddressTypeclassInt32TypeclassIntegerTypeclassLegacyTimeUUIDTypeclassLexicalUUIDTypeclassListType<T>classLongTypeclassMapType<K,V>classNumberType<T extends java.lang.Number>Base type for the numeric types.classPartitionerDefinedOrderfor sorting columns representing row keys in the row ordering as determined by a partitioner.classReversedType<T>classSetType<T>classShortTypeclassSimpleDateTypeclassStringTypeclassTemporalType<T>Base type for temporal types (timestamp, date ...).classTimestampTypeType for date-time values.classTimeTypeNanosecond resolution time valuesclassTimeUUIDTypeclassTupleTypeThis 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.classUserTypeA user defined type.classUTF8TypeclassUUIDTypeCompares 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. baseTypeFields in org.apache.cassandra.db.marshal with type parameters of type AbstractType Modifier and Type Field Description java.util.Map<java.lang.Byte,AbstractType<?>>DynamicCompositeType. aliasesjava.util.List<AbstractType<?>>CompositeType. typesprotected java.util.List<AbstractType<?>>TupleType. typesMethods 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<TimeUUID>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)AbstractType<?>AbstractType. udfType()AbstractType<?>TimeUUIDType. udfType()AbstractType<T>AbstractType. unwrap()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 CompositeTypeCompositeType. 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)booleanAbstractType. 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.booleanBytesType. isCompatibleWith(AbstractType<?> previous)booleanCollectionType. isCompatibleWith(AbstractType<?> previous)booleanCompositeType. isCompatibleWith(AbstractType<?> previous)booleanDateType. isCompatibleWith(AbstractType<?> previous)Deprecated.booleanDynamicCompositeType. isCompatibleWith(AbstractType<?> previous)booleanReversedType. isCompatibleWith(AbstractType<?> otherType)booleanTimestampType. isCompatibleWith(AbstractType<?> previous)booleanTupleType. isCompatibleWith(AbstractType<?> previous)booleanUTF8Type. isCompatibleWith(AbstractType<?> previous)booleanAbstractType. isSerializationCompatibleWith(AbstractType<?> previous)Similar toisValueCompatibleWith(AbstractType), but takes into accountCellencoding.booleanBytesType. isSerializationCompatibleWith(AbstractType<?> previous)booleanCollectionType. isSerializationCompatibleWith(AbstractType<?> previous)booleanAbstractType. isValueCompatibleWith(AbstractType<?> previous)Returns true if values of the other AbstractType can be read and "reasonably" interpreted by the this AbstractType.booleanUserType. isValueCompatibleWith(AbstractType<?> previous)protected booleanAbstractType. isValueCompatibleWithInternal(AbstractType<?> otherType)Needed to handle ReversedType in value-compatibility checks.booleanBytesType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanCollectionType. isValueCompatibleWithInternal(AbstractType<?> previous)booleanCompositeType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanDateType. isValueCompatibleWithInternal(AbstractType<?> otherType)Deprecated.booleanDurationType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanIntegerType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanLongType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanSimpleDateType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanTimestampType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanTimeType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanTupleType. isValueCompatibleWithInternal(AbstractType<?> otherType)booleanUUIDType. isValueCompatibleWithInternal(AbstractType<?> otherType)static AbstractType<?>AbstractType. parseDefaultParameters(AbstractType<?> baseType, TypeParser parser)static java.lang.StringListType. setOrListToJsonString(java.nio.ByteBuffer buffer, AbstractType elementsType, ProtocolVersion protocolVersion)AssignmentTestable.TestResultAbstractType. 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 CompositeTypeCompositeType. getInstance(java.lang.Iterable<AbstractType<?>> types)static CompositeTypeCompositeType. getInstance(java.util.List<AbstractType<?>> types)static DynamicCompositeTypeDynamicCompositeType. getInstance(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)static java.lang.StringTypeParser. stringifyAliasesParameters(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)Helper function to ease the writing of AbstractType.toString() methods.static java.lang.StringTypeParser. stringifyTypeParameters(java.util.List<AbstractType<?>> types)Helper function to ease the writing of AbstractType.toString() methods.static java.lang.StringTypeParser. 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)Serializer(java.util.Map<java.lang.Byte,AbstractType<?>> aliases)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.StringCells. 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. partitionOrderingstatic AbstractType<?>RandomPartitioner. partitionOrderingMethods 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.StringAbstractBounds. 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 OperationExecutionExceptionOperationExecutionException. create(char operator, java.util.List<AbstractType<?>> argTypes, java.lang.Exception e)Creates a newOperationExecutionExceptionfor 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 intTerm. compareTo(AbstractType<?> comparator, java.nio.ByteBuffer query)intTerm. compareTo(AbstractType<?> comparator, java.nio.ByteBuffer query, boolean checkFully)protected static PerSSTableIndexWriterSASIIndex. 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 voidAbstractAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)voidDelimiterAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)voidNonTokenizingAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)voidNonTokenizingAnalyzer. init(NonTokenizingOptions tokenizerOptions, AbstractType<?> validator)voidNoOpAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)voidStandardAnalyzer. init(java.util.Map<java.lang.String,java.lang.String> options, AbstractType<?> validator)voidStandardAnalyzer. init(StandardTokenizerOptions tokenizerOptions, AbstractType<?> validator)protected abstract booleanAbstractAnalyzer. isCompatibleWith(AbstractType<?> validator)Test whether the given validator is compatible with the underlying analyzer.booleanDelimiterAnalyzer. isCompatibleWith(AbstractType<?> validator)booleanNonTokenizingAnalyzer. isCompatibleWith(AbstractType<?> validator)booleanNoOpAnalyzer. isCompatibleWith(AbstractType<?> validator)booleanStandardAnalyzer. 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 AbstractAnalyzerIndexMode. 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. comparatorprotected AbstractType<?>TermTree.Builder. comparatorConstructors 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. comparatorMethods 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.TermSizeOnDiskIndexBuilder.TermSize. sizeOf(AbstractType<?> comparator)Constructors in org.apache.cassandra.index.sasi.disk with parameters of type AbstractType Constructor Description OnDiskIndex(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. keyValidatorMethods in org.apache.cassandra.index.sasi.memory with parameters of type AbstractType Modifier and Type Method Description static MemIndexMemIndex. 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. validatorMethods 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. comparatorMethods in org.apache.cassandra.index.sasi.sa with parameters of type AbstractType Modifier and Type Method Description intByteTerm. compareTo(AbstractType<?> comparator, Term other)intCharTerm. compareTo(AbstractType<?> comparator, Term other)abstract intTerm. 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 intMappedBuffer. comparePageTo(long offset, int length, AbstractType<?> comparator, java.nio.ByteBuffer other)static booleanTypeUtil. isValid(java.nio.ByteBuffer term, AbstractType<?> validator)static java.nio.ByteBufferTypeUtil. 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. partitionKeyTypeMethods 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.BuilderTableMetadata.Builder. addClusteringColumn(java.lang.String name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addClusteringColumn(ColumnIdentifier name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addPartitionKeyColumn(java.lang.String name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addPartitionKeyColumn(ColumnIdentifier name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addRegularColumn(java.lang.String name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addRegularColumn(ColumnIdentifier name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addStaticColumn(java.lang.String name, AbstractType type)TableMetadata.BuilderTableMetadata.Builder. addStaticColumn(ColumnIdentifier name, AbstractType type)static ColumnMetadataColumnMetadata. clusteringColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type, int position)static ColumnMetadataColumnMetadata. clusteringColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position)Selector.FactoryColumnMetadata. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)static ColumnMetadataColumnMetadata. partitionKeyColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type, int position)static ColumnMetadataColumnMetadata. partitionKeyColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position)TableMetadata.BuilderTableMetadata.Builder. recordDeprecatedSystemColumn(java.lang.String name, AbstractType<?> type)Records a deprecated column for a system table.static ColumnMetadataColumnMetadata. regularColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type)static ColumnMetadataColumnMetadata. regularColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type)static ColumnMetadataColumnMetadata. staticColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type)static ColumnMetadataColumnMetadata. staticColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type)static intFunctions. typeHashCode(AbstractType<?> t)ColumnMetadataColumnMetadata. 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 namestatic intFunctions. typeHashCode(java.util.List<AbstractType<?>> types)static booleanFunctions. typesMatch(java.util.List<AbstractType<?>> t1, java.util.List<AbstractType<?>> t2)FunctionsFunctions. 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.ByteBufferCollectionSerializer. getSerializedValue(java.nio.ByteBuffer collection, java.nio.ByteBuffer key, AbstractType<?> comparator)Extract an element from a serialized collection.java.nio.ByteBufferListSerializer. getSerializedValue(java.nio.ByteBuffer collection, java.nio.ByteBuffer key, AbstractType<?> comparator)java.nio.ByteBufferMapSerializer. getSerializedValue(java.nio.ByteBuffer collection, java.nio.ByteBuffer key, AbstractType<?> comparator)java.nio.ByteBufferSetSerializer. getSerializedValue(java.nio.ByteBuffer input, java.nio.ByteBuffer key, AbstractType<?> comparator)abstract java.nio.ByteBufferCollectionSerializer. 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.ByteBufferListSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen)java.nio.ByteBufferMapSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen)java.nio.ByteBufferSetSerializer. getSliceFromSerialized(java.nio.ByteBuffer collection, java.nio.ByteBuffer from, java.nio.ByteBuffer to, AbstractType<?> comparator, boolean frozen) -
Uses of AbstractType in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted that return AbstractType Modifier and Type Method Description AbstractType<?>PaxosUncommittedIndex. customExpressionValueType() -
Uses of AbstractType in org.apache.cassandra.transport
Methods in org.apache.cassandra.transport that return AbstractType Modifier and Type Method Description static AbstractTypeDataType. 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)
-