Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
AbstractType<?> |
ColumnSpecification.type |
Modifier and Type | Method and 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 the
term if it can be infered. |
AbstractType<?> |
Tuples.Literal.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Tuples.Raw.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Tuples.INRaw.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 text
|
AbstractType<?> |
CQL3Type.getType() |
AbstractType<?> |
CQL3Type.Native.getType() |
AbstractType<?> |
CQL3Type.Custom.getType() |
AbstractType<?> |
CQL3Type.Collection.getType() |
AbstractType<?> |
CQL3Type.UserDefined.getType() |
AbstractType<?> |
CQL3Type.Tuple.getType() |
Modifier and Type | Method and 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) |
<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(AbstractType<?> type,
java.nio.ByteBuffer bytes,
java.lang.String text) |
static ColumnIdentifier |
ColumnIdentifier.getInterned(java.nio.ByteBuffer bytes,
AbstractType<?> type) |
<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) |
<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 a
Terms for the specified list marker. |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
ColumnIdentifier(java.nio.ByteBuffer bytes,
AbstractType<?> type) |
ColumnSpecification(java.lang.String ksName,
java.lang.String cfName,
ColumnIdentifier name,
AbstractType<?> type) |
Custom(AbstractType<?> type) |
Modifier and Type | Method and 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.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
AbstractFunction.returnType |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AbstractType<?>> |
AbstractFunction.argTypes |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
FunctionCall.Raw.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
AbstractFunction.returnType() |
AbstractType<?> |
Function.returnType() |
AbstractType<?> |
UDAggregate.stateType() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AbstractType<?>> |
AbstractFunction.argTypes() |
java.util.List<AbstractType<?>> |
Function.argTypes() |
Modifier and Type | Method and 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 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 the
DataType 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) |
Modifier and Type | Method and 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.driverTypes(java.util.List<AbstractType<?>> abstractTypes)
Construct an array containing the
DataType s for the
C* internal types. |
static ToJsonFct |
ToJsonFct.getInstance(java.util.List<AbstractType<?>> argTypes) |
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) |
Constructor and Description |
---|
AbstractFunction(FunctionName name,
java.util.List<AbstractType<?>> argTypes,
AbstractType<?> returnType) |
NativeAggregateFunction(java.lang.String name,
AbstractType<?> returnType,
AbstractType<?>... argTypes) |
NativeAggregateFunction(java.lang.String name,
AbstractType<?> returnType,
AbstractType<?>... argTypes) |
NativeFunction(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) |
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,
AbstractType<?> returnType,
boolean calledOnNullInput,
java.lang.String language,
java.lang.String body) |
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) |
Constructor and 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) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
CustomIndexExpression.prepareValue(TableMetadata table,
AbstractType<?> expressionType,
VariableSpecifications boundNames) |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
Selectable.getExactTypeIfKnown(java.lang.String keyspace)
The type of the
Selectable if it can be infered. |
AbstractType<?> |
Selectable.WithTerm.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WritetimeOrTTL.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithFunction.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithToJSonFunction.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithCast.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithFieldSelection.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.BetweenParenthesesOrWithTuple.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithList.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithSet.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithMapOrUdt.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithTypeHint.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithElementSelection.getExactTypeIfKnown(java.lang.String keyspace) |
AbstractType<?> |
Selectable.WithSliceSelection.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 the
Selector output type. |
AbstractType<?> |
SimpleSelector.getType() |
AbstractType<?> |
TermSelector.getType() |
Constructor and Description |
---|
WithTypeHint(java.lang.String typeName,
AbstractType<?> type,
Selectable selectable) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 for
SSTableHeaderFix . |
static java.lang.String |
SchemaCQLHelper.toCqlType(AbstractType<?> type)
Converts the type to a CQL type.
|
Modifier and Type | Method and 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 for
SSTableHeaderFix . |
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 for
SSTableHeaderFix . |
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 for
SSTableHeaderFix . |
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) |
void |
Clustering.Serializer.serialize(Clustering<?> clustering,
DataOutputPlus out,
int version,
java.util.List<AbstractType<?>> types) |
java.nio.ByteBuffer |
Clustering.Serializer.serialize(Clustering<?> clustering,
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) |
Constructor and Description |
---|
ClusteringComparator(AbstractType<?>... clusteringTypes) |
Constructor and Description |
---|
ClusteringComparator(java.lang.Iterable<AbstractType<?>> clusteringTypes) |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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 values
|
class |
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 comparison |
Modifier and Type | Field and Description |
---|---|
AbstractType<T> |
ReversedType.baseType |
Modifier and Type | Field and Description |
---|---|
java.util.List<AbstractType<?>> |
CompositeType.types |
protected java.util.List<AbstractType<?>> |
TupleType.types |
Modifier and Type | Method and 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 <VL,VR> AbstractType<?> |
CompositeType.getComparator(int i,
VL left,
ValueAccessor<VL> accessorL,
VR right,
ValueAccessor<VR> accessorR,
int offsetL,
int offsetR) |
protected <VL,VR> AbstractType<?> |
DynamicCompositeType.getComparator(int i,
VL left,
ValueAccessor<VL> accessorL,
VR right,
ValueAccessor<VR> accessorR,
int offsetL,
int offsetR) |
protected abstract <V> AbstractType<?> |
AbstractCompositeType.getComparator(int i,
V value,
ValueAccessor<V> accessor,
int offset) |
protected <V> AbstractType<?> |
CompositeType.getComparator(int i,
V value,
ValueAccessor<V> accessor,
int offset) |
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 range
|
protected <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.
|
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
static <TL,TR> int |
MapType.compareMaps(AbstractType<?> keysComparator,
AbstractType<?> valuesComparator,
TL left,
ValueAccessor<TL> accessorL,
TR right,
ValueAccessor<TR> accessorR) |
static <TL,TR> int |
MapType.compareMaps(AbstractType<?> keysComparator,
AbstractType<?> valuesComparator,
TL left,
ValueAccessor<TL> accessorL,
TR right,
ValueAccessor<TR> accessorR) |
static CompositeType |
CompositeType.getInstance(AbstractType... types) |
static <K,V> MapType<K,V> |
MapType.getInstance(AbstractType<K> keys,
AbstractType<V> values,
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> ListType<T> |
ListType.getInstance(AbstractType<T> elements,
boolean isMultiCell) |
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 |
TimeType.isValueCompatibleWithInternal(AbstractType<?> otherType) |
boolean |
TimestampType.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.
|
Modifier and Type | Method and 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.
|
static java.lang.String |
TypeParser.stringifyUserTypeParameters(java.lang.String keysace,
java.nio.ByteBuffer typeName,
java.util.List<FieldIdentifier> fields,
java.util.List<AbstractType<?>> columnTypes,
boolean ignoreFreezing) |
Constructor and Description |
---|
SetType(AbstractType<T> elements,
boolean isMultiCell) |
Constructor and Description |
---|
CompositeType(java.util.List<AbstractType<?>> types) |
TupleType(java.util.List<AbstractType<?>> types) |
TupleType(java.util.List<AbstractType<?>> types,
boolean freezeInner) |
UserType(java.lang.String keyspace,
java.nio.ByteBuffer name,
java.util.List<FieldIdentifier> fieldNames,
java.util.List<AbstractType<?>> fieldTypes,
boolean isMultiCell) |
Modifier and Type | Method and Description |
---|---|
static <T,V> T |
Cells.composeValue(Cell<V> cell,
AbstractType<T> type) |
static <V> java.lang.String |
Cells.valueString(Cell<V> cell,
AbstractType<?> type) |
Modifier and Type | Field and Description |
---|---|
static AbstractType<?> |
Murmur3Partitioner.partitionOrdering |
static AbstractType<?> |
RandomPartitioner.partitionOrdering |
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
AbstractBounds.getString(AbstractType<?> keyValidator) |
Constructor and Description |
---|
LocalPartitioner(AbstractType<?> comparator) |
Modifier and Type | Method and Description |
---|---|
static OperationExecutionException |
OperationExecutionException.create(char operator,
java.util.List<AbstractType<?>> argTypes,
java.lang.Exception e)
Creates a new
OperationExecutionException for the specified operation. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
CassandraIndex.customExpressionValueType() |
default AbstractType<?> |
CassandraIndexFunctions.getIndexedValueType(ColumnMetadata indexedColumn)
Returns the type of the the values in the index.
|
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
SASIIndex.customExpressionValueType() |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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 |
NoOpAnalyzer.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 |
StandardAnalyzer.init(java.util.Map<java.lang.String,java.lang.String> options,
AbstractType<?> validator) |
void |
NonTokenizingAnalyzer.init(NonTokenizingOptions tokenizerOptions,
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 |
NoOpAnalyzer.isCompatibleWith(AbstractType<?> validator) |
boolean |
NonTokenizingAnalyzer.isCompatibleWith(AbstractType<?> validator) |
boolean |
StandardAnalyzer.isCompatibleWith(AbstractType<?> validator) |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
ColumnIndex.getValidator() |
AbstractType<?> |
ColumnIndex.keyValidator() |
Modifier and Type | Method and Description |
---|---|
AbstractAnalyzer |
IndexMode.getAnalyzer(AbstractType<?> validator) |
Constructor and Description |
---|
ColumnIndex(AbstractType<?> keyValidator,
ColumnMetadata column,
IndexMetadata metadata) |
DataTracker(AbstractType<?> keyValidator,
ColumnIndex index) |
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
RangeTermTree.comparator |
protected AbstractType<?> |
TermTree.Builder.comparator |
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
OnDiskIndex.comparator |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
OnDiskIndex.getComparator() |
Modifier and Type | Method and Description |
---|---|
OnDiskBlock.SearchResult<T> |
OnDiskBlock.search(AbstractType<?> comparator,
java.nio.ByteBuffer query) |
static OnDiskIndexBuilder.TermSize |
OnDiskIndexBuilder.TermSize.sizeOf(AbstractType<?> comparator) |
Constructor and 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) |
OnDiskIndexBuilder(AbstractType<?> keyComparator,
AbstractType<?> comparator,
OnDiskIndexBuilder.Mode mode,
boolean marksPartials) |
OnDiskIndexBuilder(AbstractType<?> keyComparator,
AbstractType<?> comparator,
OnDiskIndexBuilder.Mode mode,
boolean marksPartials) |
PerSSTableIndexWriter(AbstractType<?> keyValidator,
Descriptor descriptor,
OperationType source,
java.util.Map<ColumnMetadata,ColumnIndex> supportedIndexes) |
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
MemIndex.keyValidator |
Modifier and Type | Method and Description |
---|---|
static MemIndex |
MemIndex.forColumn(AbstractType<?> keyValidator,
ColumnIndex columnIndex) |
Constructor and Description |
---|
MemIndex(AbstractType<?> keyValidator,
ColumnIndex columnIndex) |
SkipListMemIndex(AbstractType<?> keyValidator,
ColumnIndex columnIndex) |
TrieMemIndex(AbstractType<?> keyValidator,
ColumnIndex columnIndex) |
Modifier and Type | Field and Description |
---|---|
AbstractType<?> |
Expression.validator |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
QueryController.getKeyValidator() |
Constructor and Description |
---|
Expression(java.lang.String name,
AbstractType<?> validator) |
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
SA.comparator |
Modifier and Type | Method and Description |
---|---|
int |
ByteTerm.compareTo(AbstractType<?> comparator,
Term other) |
int |
CharTerm.compareTo(AbstractType<?> comparator,
Term other) |
abstract int |
Term.compareTo(AbstractType<?> comparator,
Term other) |
Constructor and Description |
---|
IntegralSA(AbstractType<?> comparator,
OnDiskIndexBuilder.Mode mode) |
SA(AbstractType<?> comparator,
OnDiskIndexBuilder.Mode mode) |
SuffixSA(AbstractType<?> comparator,
OnDiskIndexBuilder.Mode mode) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
CombinedTerm(AbstractType<?> comparator,
OnDiskIndex.DataTerm term) |
Constructor and Description |
---|
Serializer(Version version,
java.util.List<AbstractType<?>> clusteringTypes) |
Modifier and Type | Field and Description |
---|---|
AbstractType<?> |
TableMetadata.partitionKeyType |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
TableMetadata.Builder |
TableMetadata.Builder.addClusteringColumn(ColumnIdentifier name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addClusteringColumn(java.lang.String name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addPartitionKeyColumn(ColumnIdentifier name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addPartitionKeyColumn(java.lang.String name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addRegularColumn(ColumnIdentifier name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addRegularColumn(java.lang.String name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addStaticColumn(ColumnIdentifier name,
AbstractType type) |
TableMetadata.Builder |
TableMetadata.Builder.addStaticColumn(java.lang.String 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) |
Modifier and Type | Method and 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 name
|
java.util.Optional<Function> |
Schema.findFunction(FunctionName name,
java.util.List<AbstractType<?>> argTypes)
Find the function with the specified name
|
void |
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) |
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 removed
|
Constructor and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static AbstractType |
DataType.toType(Pair<DataType,java.lang.Object> entry) |
Modifier and Type | Method and Description |
---|---|
static Pair<DataType,java.lang.Object> |
DataType.fromType(AbstractType type,
ProtocolVersion version) |
Modifier and Type | Method and 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) |
Copyright © 2009-2022 The Apache Software Foundation