Modifier and Type | Method and Description |
---|---|
static AbstractType<?> |
CliClient.getTypeByFunction(java.lang.String functionName)
Get AbstractType by function name
|
AbstractType<?> |
CliClient.Function.getValidator() |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
CFMetaData.getColumnDefinitionComparator(ColumnDefinition def) |
static AbstractType<?> |
ColumnDefinition.getComponentComparator(AbstractType<?> rawComparator,
java.lang.Integer componentIndex,
ColumnDefinition.Kind kind) |
AbstractType<?> |
CFMetaData.getComponentComparator(java.lang.Integer componentIndex,
ColumnDefinition.Kind kind) |
AbstractType<?> |
CFMetaData.getDefaultValidator() |
AbstractType<?> |
CFMetaData.getKeyValidator() |
AbstractType<?> |
CFMetaData.getValueValidator(CellName cellName) |
Modifier and Type | Method and Description |
---|---|
void |
CFMetaData.addColumnMetadataFromAliases(java.util.List<java.nio.ByteBuffer> aliases,
AbstractType<?> comparator,
ColumnDefinition.Kind kind) |
static ColumnDefinition |
ColumnDefinition.clusteringKeyDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
static ColumnDefinition |
ColumnDefinition.compactValueDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator) |
CFMetaData |
CFMetaData.defaultValidator(AbstractType<?> prop) |
static CFMetaData |
CFMetaData.denseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp) |
static CFMetaData |
CFMetaData.denseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp,
AbstractType<?> subcc) |
static CFMetaData |
CFMetaData.denseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp,
AbstractType<?> subcc) |
static java.util.List<ColumnDefinition> |
ColumnDefinition.fromSchema(UntypedResultSet serializedColumns,
java.lang.String ksName,
java.lang.String cfName,
AbstractType<?> rawComparator,
boolean isSuper)
Deserialize columns from storage-level representation
|
static ColumnDefinition |
ColumnDefinition.fromThrift(java.lang.String ksName,
java.lang.String cfName,
AbstractType<?> thriftComparator,
AbstractType<?> thriftSubcomparator,
ColumnDef thriftColumnDef) |
static ColumnDefinition |
ColumnDefinition.fromThrift(java.lang.String ksName,
java.lang.String cfName,
AbstractType<?> thriftComparator,
AbstractType<?> thriftSubcomparator,
ColumnDef thriftColumnDef) |
static java.util.List<ColumnDefinition> |
ColumnDefinition.fromThrift(java.lang.String ksName,
java.lang.String cfName,
AbstractType<?> thriftComparator,
AbstractType<?> thriftSubcomparator,
java.util.List<ColumnDef> thriftDefs) |
static java.util.List<ColumnDefinition> |
ColumnDefinition.fromThrift(java.lang.String ksName,
java.lang.String cfName,
AbstractType<?> thriftComparator,
AbstractType<?> thriftSubcomparator,
java.util.List<ColumnDef> thriftDefs) |
static AbstractType<?> |
ColumnDefinition.getComponentComparator(AbstractType<?> rawComparator,
java.lang.Integer componentIndex,
ColumnDefinition.Kind kind) |
CFMetaData |
CFMetaData.keyValidator(AbstractType<?> prop) |
static ColumnDefinition |
ColumnDefinition.partitionKeyDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
static ColumnDefinition |
ColumnDefinition.partitionKeyDef(java.lang.String ksName,
java.lang.String cfName,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
static ColumnDefinition |
ColumnDefinition.regularDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
static CFMetaData |
CFMetaData.sparseCFMetaData(java.lang.String keyspace,
java.lang.String name,
AbstractType<?> comp) |
static ColumnDefinition |
ColumnDefinition.staticDef(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex) |
ColumnDefinition |
ColumnDefinition.withNewType(AbstractType<?> newType) |
Constructor and Description |
---|
ColumnDefinition(CFMetaData cfm,
java.nio.ByteBuffer name,
AbstractType<?> validator,
java.lang.Integer componentIndex,
ColumnDefinition.Kind kind) |
ColumnDefinition(java.lang.String ksName,
java.lang.String cfName,
ColumnIdentifier name,
AbstractType<?> validator,
IndexType indexType,
java.util.Map<java.lang.String,java.lang.String> indexOptions,
java.lang.String indexName,
java.lang.Integer componentIndex,
ColumnDefinition.Kind kind) |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
CFPropDefs.getComparator() |
AbstractType<?> |
UpdateStatement.getKeyType(java.lang.String keyspace) |
AbstractType<?> |
CFPropDefs.getValidator() |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
Term.getByteBuffer(AbstractType<?> validator,
java.util.List<java.nio.ByteBuffer> variables)
Returns the typed value, serialized to a ByteBuffer according to a
comparator/validator.
|
Modifier and Type | Field and Description |
---|---|
AbstractType<?> |
ColumnSpecification.type |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
protected 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.
|
<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) |
protected boolean |
ColumnCondition.Bound.isSatisfiedByValue(java.nio.ByteBuffer value,
Cell c,
AbstractType<?> type,
Operator operator,
long now) |
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 | Field and Description |
---|---|
AbstractType<?> |
AbstractFunction.returnType |
Modifier and Type | Field and Description |
---|---|
java.util.List<AbstractType<?>> |
AbstractFunction.argsType |
Modifier and Type | Method and Description |
---|---|
static AbstractType<?> |
Functions.getReturnType(java.lang.String functionName,
java.lang.String ksName,
java.lang.String cfName) |
AbstractType<?> |
AbstractFunction.returnType() |
AbstractType<?> |
Function.returnType() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AbstractType<?>> |
AbstractFunction.argsType() |
java.util.List<AbstractType<?>> |
Function.argsType() |
Modifier and Type | Method and Description |
---|---|
static Function |
BytesConversionFcts.makeFromBlobFunction(AbstractType<?> toType) |
static Function |
BytesConversionFcts.makeToBlobFunction(AbstractType<?> fromType) |
Constructor and Description |
---|
AbstractFunction(java.lang.String name,
AbstractType<?> returnType,
AbstractType<?>... argsType) |
AbstractFunction(java.lang.String name,
AbstractType<?> returnType,
AbstractType<?>... argsType) |
Modifier and Type | Method and Description |
---|---|
static AbstractType<?> |
SuperColumns.getComparatorFor(CFMetaData metadata,
boolean subColumn) |
static AbstractType<?> |
SuperColumns.getComparatorFor(CFMetaData metadata,
java.nio.ByteBuffer superColumn) |
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
AbstractSimpleCellNameType.type |
protected AbstractType<?> |
SimpleCType.type |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
AbstractCompoundCellNameType.asAbstractType() |
AbstractType<?> |
AbstractSimpleCellNameType.asAbstractType() |
AbstractType<?> |
CType.asAbstractType()
Returns a AbstractType corresponding to this CType for thrift/cql2 sake.
|
AbstractType<?> |
CompoundCType.asAbstractType() |
AbstractType<?> |
SimpleCType.asAbstractType() |
AbstractType<?> |
AbstractCompoundCellNameType.subtype(int i) |
AbstractType<?> |
AbstractSimpleCellNameType.subtype(int i) |
AbstractType<?> |
CType.subtype(int i)
Gets a subtype of this CType.
|
AbstractType<?> |
CompoundCType.subtype(int i) |
AbstractType<?> |
SimpleCType.subtype(int i) |
Modifier and Type | Method and Description |
---|---|
static CellNameType |
CellNames.fromAbstractType(AbstractType<?> type,
boolean isDense) |
protected static CompoundCType |
CompoundSparseCellNameType.makeCType(CompoundCType clusteringType,
AbstractType<?> columnNameType,
ColumnToCollectionType collectionType) |
CType |
CType.setSubtype(int position,
AbstractType<?> newType)
Returns a new CType that is equivalent to this CType but with
one of the subtype replaced by the provided new type.
|
CellNameType |
CellNameType.setSubtype(int position,
AbstractType<?> newType)
Returns a new CellNameType that is equivalent to this one but with one
of the subtype replaced by the provided new type.
|
CompoundCType |
CompoundCType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
CompoundDenseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
CompoundSparseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
CompoundSparseCellNameType.WithCollection.setSubtype(int position,
AbstractType<?> newType) |
CType |
SimpleCType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
SimpleDenseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
CellNameType |
SimpleSparseCellNameType.setSubtype(int position,
AbstractType<?> newType) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
AbstractCType.isByteOrderComparable(java.lang.Iterable<AbstractType<?>> types) |
Constructor and Description |
---|
AbstractSimpleCellNameType(AbstractType<?> type) |
CompoundSparseCellNameType(java.util.List<AbstractType<?>> types,
AbstractType<?> columnNameType) |
SimpleCType(AbstractType<?> type) |
SimpleDenseCellNameType(AbstractType<?> type) |
SimpleSparseCellNameType(AbstractType<?> type) |
Constructor and Description |
---|
CompoundCType(java.util.List<AbstractType<?>> types) |
CompoundDenseCellNameType(java.util.List<AbstractType<?>> types) |
CompoundSparseCellNameType(java.util.List<AbstractType<?>> types) |
CompoundSparseCellNameType(java.util.List<AbstractType<?>> types,
AbstractType<?> columnNameType) |
WithCollection(java.util.List<AbstractType<?>> types,
ColumnToCollectionType collectionType) |
Modifier and Type | Field and Description |
---|---|
static AbstractType<?> |
SecondaryIndex.keyComparator |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractType |
AbstractSimplePerColumnSecondaryIndex.getExpressionComparator() |
protected AbstractType<?> |
AbstractSimplePerColumnSecondaryIndex.getIndexKeyComparator() |
Modifier and Type | Method and Description |
---|---|
protected AbstractType<?> |
CompositesIndex.getExpressionComparator() |
protected AbstractType<?> |
CompositesIndexOnCollectionKey.getIndexKeyComparator() |
protected AbstractType<?> |
CompositesIndexOnCollectionValue.getIndexKeyComparator() |
Modifier and Type | Method and Description |
---|---|
protected AbstractType |
KeysIndex.getExpressionComparator() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompositeType
A class avoiding class duplication between CompositeType and
DynamicCompositeType.
|
class |
AsciiType |
class |
BooleanType |
class |
BytesType |
class |
CollectionType<T>
The abstract validator that is the base for maps, sets and lists (both frozen and non-frozen).
|
class |
ColumnToCollectionType |
class |
CompositeType |
class |
CounterColumnType |
class |
DateType |
class |
DecimalType |
class |
DoubleType |
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 |
LocalByPartionerType
for sorting columns representing row keys in the row ordering as determined by a partitioner.
|
class |
LongType |
class |
MapType<K,V> |
class |
ReversedType<T> |
class |
SetType<T> |
class |
TimestampType
Type for date-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 |
AbstractType<?> |
AbstractCompositeType.CompositeComponent.comparator |
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<?> |
UserType.fieldType(int i) |
AbstractType<?> |
AbstractType.freeze() |
AbstractType<?> |
ListType.freeze() |
AbstractType<?> |
MapType.freeze() |
AbstractType<?> |
SetType.freeze() |
AbstractType<?> |
AbstractCompositeType.ParsedComparator.getAbstractType() |
protected abstract AbstractType<?> |
AbstractCompositeType.getAndAppendComparator(int i,
java.nio.ByteBuffer bb,
java.lang.StringBuilder sb)
Adds type information from @param bb to @param sb.
|
protected AbstractType<?> |
CompositeType.getAndAppendComparator(int i,
java.nio.ByteBuffer bb,
java.lang.StringBuilder sb) |
protected AbstractType<?> |
DynamicCompositeType.getAndAppendComparator(int i,
java.nio.ByteBuffer bb,
java.lang.StringBuilder sb) |
protected abstract AbstractType<?> |
AbstractCompositeType.getComparator(int i,
java.nio.ByteBuffer bb) |
protected AbstractType<?> |
CompositeType.getComparator(int i,
java.nio.ByteBuffer bb) |
protected AbstractType<?> |
DynamicCompositeType.getComparator(int i,
java.nio.ByteBuffer bb) |
protected abstract AbstractType<?> |
AbstractCompositeType.getComparator(int i,
java.nio.ByteBuffer bb1,
java.nio.ByteBuffer bb2)
Adds DynamicCompositeType type information from @param bb1 to @param bb2.
|
protected AbstractType<?> |
CompositeType.getComparator(int i,
java.nio.ByteBuffer bb1,
java.nio.ByteBuffer bb2) |
protected AbstractType<?> |
DynamicCompositeType.getComparator(int i,
java.nio.ByteBuffer bb1,
java.nio.ByteBuffer bb2) |
AbstractType<T> |
ListType.getElementsType() |
AbstractType<T> |
SetType.getElementsType() |
static AbstractType<?> |
FrozenType.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 AbstractType<?> |
AbstractCompositeType.validateComparator(int i,
java.nio.ByteBuffer bb)
Like getComparator, but validates that @param i does not exceed the defined range
|
protected AbstractType<?> |
CompositeType.validateComparator(int i,
java.nio.ByteBuffer bb) |
protected AbstractType<?> |
DynamicCompositeType.validateComparator(int i,
java.nio.ByteBuffer bb) |
abstract AbstractType<?> |
CollectionType.valueComparator() |
AbstractType<T> |
ListType.valueComparator() |
AbstractType<V> |
MapType.valueComparator() |
AbstractType<?> |
SetType.valueComparator() |
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() |
Modifier and Type | Method and Description |
---|---|
static int |
MapType.compareMaps(AbstractType<?> keysComparator,
AbstractType<?> valuesComparator,
java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2) |
static int |
MapType.compareMaps(AbstractType<?> keysComparator,
AbstractType<?> valuesComparator,
java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2) |
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) |
static java.lang.String |
TypeParser.getShortName(AbstractType<?> type) |
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 |
ColumnToCollectionType.isCompatibleWith(AbstractType<?> previous) |
boolean |
CompositeType.isCompatibleWith(AbstractType<?> previous) |
boolean |
DateType.isCompatibleWith(AbstractType<?> previous) |
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) |
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) |
boolean |
IntegerType.isValueCompatibleWithInternal(AbstractType<?> otherType) |
boolean |
LongType.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) |
boolean |
AbstractType.references(AbstractType<?> check)
Checks whether this type or any of the types this type contains references the given type.
|
boolean |
CompositeType.references(AbstractType<?> check) |
boolean |
ListType.references(AbstractType<?> check) |
boolean |
MapType.references(AbstractType<?> check) |
boolean |
ReversedType.references(AbstractType<?> check) |
boolean |
SetType.references(AbstractType<?> check) |
boolean |
TupleType.references(AbstractType<?> check) |
Modifier and Type | Method and Description |
---|---|
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<java.nio.ByteBuffer> columnNames,
java.util.List<AbstractType<?>> columnTypes) |
Constructor and Description |
---|
CompositeComponent(AbstractType<?> comparator,
java.nio.ByteBuffer value) |
SetType(AbstractType<T> elements,
boolean isMultiCell) |
Constructor and Description |
---|
CompositeType(java.util.List<AbstractType<?>> types) |
TupleType(java.util.List<AbstractType<?>> types) |
UserType(java.lang.String keyspace,
java.nio.ByteBuffer name,
java.util.List<java.nio.ByteBuffer> fieldNames,
java.util.List<AbstractType<?>> fieldTypes) |
Modifier and Type | Method and Description |
---|---|
AbstractType<?> |
AbstractByteOrderedPartitioner.getTokenValidator() |
AbstractType<?> |
IPartitioner.getTokenValidator() |
AbstractType<?> |
LocalPartitioner.getTokenValidator() |
AbstractType<?> |
Murmur3Partitioner.getTokenValidator() |
AbstractType<?> |
OrderPreservingPartitioner.getTokenValidator() |
AbstractType<?> |
RandomPartitioner.getTokenValidator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
AbstractBounds.getString(AbstractType<?> keyValidator) |
Constructor and Description |
---|
LocalPartitioner(AbstractType<?> comparator) |
LocalToken(AbstractType<?> comparator,
java.nio.ByteBuffer token) |
Modifier and Type | Method and Description |
---|---|
protected AbstractType |
AbstractCassandraStorage.parseType(java.lang.String type)
parse the string to a cassandra data type
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<AbstractCassandraStorage.MarshallerType,AbstractType> |
AbstractCassandraStorage.getDefaultMarshallers(CfDef cfDef)
construct a map to store the mashaller type to cassandra data type mapping
|
protected java.util.Map<java.nio.ByteBuffer,AbstractType> |
AbstractCassandraStorage.getValidatorMap(CfDef cfDef)
get the validators
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
AbstractCassandraStorage.cassandraToObj(AbstractType validator,
java.nio.ByteBuffer value) |
protected org.apache.pig.data.Tuple |
AbstractCassandraStorage.columnToTuple(Cell col,
AbstractCassandraStorage.CfInfo cfInfo,
AbstractType comparator)
convert a column to a tuple
|
protected byte |
AbstractCassandraStorage.getPigType(AbstractType type)
get pig type for the cassandra data type
|
Constructor and Description |
---|
SSTableSimpleUnsortedWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator,
int bufferSizeInMB) |
SSTableSimpleUnsortedWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator,
int bufferSizeInMB) |
SSTableSimpleUnsortedWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator,
int bufferSizeInMB,
CompressionParameters compressParameters)
Create a new buffering writer.
|
SSTableSimpleUnsortedWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator,
int bufferSizeInMB,
CompressionParameters compressParameters)
Create a new buffering writer.
|
SSTableSimpleWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator)
Create a new writer.
|
SSTableSimpleWriter(java.io.File directory,
IPartitioner partitioner,
java.lang.String keyspace,
java.lang.String columnFamily,
AbstractType<?> comparator,
AbstractType<?> subComparator)
Create a new writer.
|
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
MapSerializer.getSerializedValue(java.nio.ByteBuffer serializedMap,
java.nio.ByteBuffer serializedKey,
AbstractType keyType)
Given a serialized map, gets the value associated with a given key.
|
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,
int version) |
Copyright © 2020 The Apache Software Foundation