Modifier and Type | Method and Description |
---|---|
java.util.Map<ColumnIdentifier,java.lang.Long> |
CFMetaData.getDroppedColumns() |
static java.util.List<ColumnIdentifier> |
ColumnDefinition.toIdentifiers(java.util.List<ColumnDefinition> definitions)
Converts the specified column definitions into column identifiers.
|
Modifier and Type | Method and Description |
---|---|
ColumnDefinition |
CFMetaData.getColumnDefinition(ColumnIdentifier name)
Returns the ColumnDefinition for
name . |
static java.lang.String |
CFMetaData.getDefaultIndexName(java.lang.String cfName,
ColumnIdentifier columnName) |
void |
CFMetaData.renameColumn(ColumnIdentifier from,
ColumnIdentifier to) |
ColumnDefinition |
ColumnDefinition.withNewName(ColumnIdentifier newName) |
Modifier and Type | Method and Description |
---|---|
CFMetaData |
CFMetaData.droppedColumns(java.util.Map<ColumnIdentifier,java.lang.Long> cols) |
Constructor and Description |
---|
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 | Field and Description |
---|---|
static ColumnIdentifier |
Json.JSON_COLUMN_ID |
ColumnIdentifier |
ColumnSpecification.name |
Modifier and Type | Field and Description |
---|---|
java.util.Map<ColumnIdentifier,Term.Raw> |
UserTypes.Literal.entries |
Modifier and Type | Method and Description |
---|---|
ColumnIdentifier |
ColumnIdentifier.clone(AbstractAllocator allocator) |
ColumnIdentifier |
CqlParser.ident() |
ColumnIdentifier |
CqlParser.non_type_ident() |
ColumnIdentifier |
ColumnIdentifier.Raw.prepare(CFMetaData cfm) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ColumnIdentifier,Term> |
Json.parseJson(java.lang.String jsonString,
java.util.Collection<ColumnDefinition> expectedReceivers)
Given a JSON string, return a map of columns to their values for the insert.
|
Modifier and Type | Method and Description |
---|---|
Cell |
CQL3Row.getColumn(ColumnIdentifier name) |
Term |
QueryOptions.getJsonColumnValue(int bindIndex,
ColumnIdentifier columnName,
java.util.Collection<ColumnDefinition> expectedReceivers)
Returns the term corresponding to column
columnName in the JSON value of bind index bindIndex . |
java.util.List<Cell> |
CQL3Row.getMultiCellColumn(ColumnIdentifier name) |
java.util.List<Cell> |
UpdateParameters.getPrefetchedList(java.nio.ByteBuffer rowKey,
ColumnIdentifier cql3ColumnName,
ColumnFamily cf)
Returns the prefetched list with the already performed modifications.
|
AbstractMarker.Raw |
CqlParser.newBindVariables(ColumnIdentifier name) |
AbstractMarker.INRaw |
CqlParser.newINBindVariables(ColumnIdentifier name) |
Json.Marker |
CqlParser.newJsonBindVariables(ColumnIdentifier name) |
Tuples.Raw |
CqlParser.newTupleBindVariables(ColumnIdentifier name) |
Tuples.INRaw |
CqlParser.newTupleINBindVariables(ColumnIdentifier name) |
ColumnSpecification |
ColumnSpecification.withAlias(ColumnIdentifier alias)
Returns a new
ColumnSpecification for the same column but with the specified alias. |
Constructor and Description |
---|
ColumnSpecification(java.lang.String ksName,
java.lang.String cfName,
ColumnIdentifier name,
AbstractType<?> type) |
UTName(ColumnIdentifier ksName,
ColumnIdentifier utName) |
Constructor and Description |
---|
Literal(java.util.Map<ColumnIdentifier,Term.Raw> entries) |
VariableSpecifications(java.util.List<ColumnIdentifier> variableNames) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ColumnIdentifier> |
UDFunction.argNames |
Modifier and Type | Method and Description |
---|---|
java.util.List<ColumnIdentifier> |
UDFunction.argNames() |
Modifier and Type | Method and Description |
---|---|
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).
|
Constructor and Description |
---|
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,
com.datastax.driver.core.DataType[] argDataTypes,
AbstractType<?> returnType,
com.datastax.driver.core.DataType returnDataType,
boolean calledOnNullInput,
java.lang.String language,
java.lang.String body) |
Modifier and Type | Field and Description |
---|---|
ColumnIdentifier |
RawSelector.alias |
ColumnIdentifier |
Selectable.WithFieldSelection.field |
ColumnIdentifier |
Selectable.WritetimeOrTTL.id |
Constructor and Description |
---|
RawSelector(Selectable.Raw selectable,
ColumnIdentifier alias) |
WithFieldSelection(Selectable selected,
ColumnIdentifier field) |
WritetimeOrTTL(ColumnIdentifier id,
boolean isWritetime) |
Modifier and Type | Field and Description |
---|---|
ColumnIdentifier |
IndexTarget.column |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ColumnIdentifier,Restriction> |
ModificationStatement.processedKeys |
Modifier and Type | Method and Description |
---|---|
void |
CreateTableStatement.RawStatement.addColumnAlias(ColumnIdentifier alias) |
void |
CreateTypeStatement.addDefinition(ColumnIdentifier name,
CQL3Type.Raw type) |
void |
CreateTableStatement.RawStatement.addDefinition(ColumnIdentifier def,
CQL3Type.Raw type,
boolean isStatic) |
static AlterTypeStatement |
AlterTypeStatement.addition(UTName name,
ColumnIdentifier fieldName,
CQL3Type.Raw type) |
static AlterTypeStatement |
AlterTypeStatement.alter(UTName name,
ColumnIdentifier fieldName,
CQL3Type.Raw type) |
void |
CreateTableStatement.RawStatement.setOrdering(ColumnIdentifier alias,
boolean reversed) |
Modifier and Type | Method and Description |
---|---|
void |
CreateTableStatement.RawStatement.addKeyAliases(java.util.List<ColumnIdentifier> aliases) |
static AlterTypeStatement |
AlterTypeStatement.renames(UTName name,
java.util.Map<ColumnIdentifier,ColumnIdentifier> renames) |
static AlterTypeStatement |
AlterTypeStatement.renames(UTName name,
java.util.Map<ColumnIdentifier,ColumnIdentifier> renames) |
void |
ParsedStatement.setBoundVariables(java.util.List<ColumnIdentifier> boundNames) |
Constructor and Description |
---|
CreateFunctionStatement(FunctionName functionName,
java.lang.String language,
java.lang.String body,
java.util.List<ColumnIdentifier> argNames,
java.util.List<CQL3Type.Raw> argRawTypes,
CQL3Type.Raw rawReturnType,
boolean calledOnNullInput,
boolean orReplace,
boolean ifNotExists) |
CreateTableStatement(CFName name,
CFPropDefs properties,
boolean ifNotExists,
java.util.Set<ColumnIdentifier> staticColumns,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
ColumnIdentifier |
AbstractNativeCell.cql3ColumnName(CFMetaData metadata) |
Modifier and Type | Field and Description |
---|---|
protected ColumnIdentifier |
CompoundSparseCellName.columnName |
static ColumnIdentifier |
CompoundSparseCellNameType.rowMarkerId |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.nio.ByteBuffer,ColumnIdentifier> |
CompoundSparseCellNameType.internedIds |
Modifier and Type | Method and Description |
---|---|
ColumnIdentifier |
CellName.cql3ColumnName(CFMetaData metadata)
The name of the CQL3 column this cell represents.
|
ColumnIdentifier |
CompoundDenseCellName.cql3ColumnName(CFMetaData metadata) |
ColumnIdentifier |
CompoundSparseCellName.cql3ColumnName(CFMetaData metadata) |
ColumnIdentifier |
SimpleDenseCellName.cql3ColumnName(CFMetaData metadata) |
ColumnIdentifier |
SimpleSparseCellName.cql3ColumnName(CFMetaData metadata) |
protected ColumnIdentifier |
CompoundSparseCellNameType.idFor(java.nio.ByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
void |
CellNameType.addCQL3Column(ColumnIdentifier id) |
void |
CompoundDenseCellNameType.addCQL3Column(ColumnIdentifier id) |
void |
CompoundSparseCellNameType.addCQL3Column(ColumnIdentifier id) |
void |
SimpleDenseCellNameType.addCQL3Column(ColumnIdentifier id) |
void |
SimpleSparseCellNameType.addCQL3Column(ColumnIdentifier id) |
CellNameType |
AbstractCellNameType.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
CellNameType |
CellNameType.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection)
Return the new type obtained by adding/updating to the new collection type for the provided column name
to this type.
|
CellNameType |
CompoundSparseCellNameType.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
CellNameType |
CompoundSparseCellNameType.WithCollection.addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
static CellName |
CellNames.compositeSparse(java.nio.ByteBuffer[] bbs,
ColumnIdentifier identifier,
boolean isStatic) |
static CellName |
CellNames.compositeSparseWithCollection(java.nio.ByteBuffer[] bbs,
java.nio.ByteBuffer collectionElement,
ColumnIdentifier identifier,
boolean isStatic) |
void |
CellNameType.removeCQL3Column(ColumnIdentifier id) |
void |
CompoundDenseCellNameType.removeCQL3Column(ColumnIdentifier id) |
void |
CompoundSparseCellNameType.removeCQL3Column(ColumnIdentifier id) |
void |
SimpleDenseCellNameType.removeCQL3Column(ColumnIdentifier id) |
void |
SimpleSparseCellNameType.removeCQL3Column(ColumnIdentifier id) |
static CellName |
CellNames.simpleSparse(ColumnIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
CompositeType.Builder |
CompositeType.Builder.add(ColumnIdentifier name) |
Modifier and Type | Field and Description |
---|---|
ColumnIdentifier |
UnrecognizedEntityException.entity
The unrecognized entity.
|
Constructor and Description |
---|
UnrecognizedEntityException(ColumnIdentifier entity,
Relation relation)
Creates a new
UnrecognizedEntityException . |
Copyright © 2020 The Apache Software Foundation