Package | Description |
---|---|
org.apache.cassandra.config | |
org.apache.cassandra.cql3 | |
org.apache.cassandra.cql3.statements | |
org.apache.cassandra.db.composites | |
org.apache.cassandra.db.marshal |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ColumnIdentifier,java.lang.Long> |
CFMetaData.getDroppedColumns() |
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) |
AbstractType<?> |
CFMetaData.getValueValidator(ColumnIdentifier column) |
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 |
---|---|
ColumnIdentifier |
ColumnSpecification.name |
ColumnIdentifier |
Relation.previousInTuple |
Modifier and Type | Field and Description |
---|---|
java.util.Map<ColumnIdentifier,Term.Raw> |
UserTypes.Literal.entries |
Modifier and Type | Method and Description |
---|---|
ColumnIdentifier |
Operation.RawDeletion.affectedColumn()
The name of the column affected by this delete operation.
|
ColumnIdentifier |
Operation.ColumnDeletion.affectedColumn() |
ColumnIdentifier |
Operation.ElementDeletion.affectedColumn() |
ColumnIdentifier |
ColumnIdentifier.clone(AbstractAllocator allocator) |
ColumnIdentifier |
Relation.getEntity() |
Modifier and Type | Method and Description |
---|---|
int |
ColumnIdentifier.compareTo(ColumnIdentifier other) |
static Relation |
Relation.createInRelation(ColumnIdentifier entity) |
java.util.List<Cell> |
CQL3Row.getCollection(ColumnIdentifier name) |
Cell |
CQL3Row.getColumn(ColumnIdentifier name) |
java.util.List<Cell> |
UpdateParameters.getPrefetchedList(java.nio.ByteBuffer rowKey,
ColumnIdentifier cql3ColumnName) |
static ResultSet.Metadata |
ResultSet.makeCountMetadata(java.lang.String ksName,
java.lang.String cfName,
ColumnIdentifier alias) |
ResultSet |
ResultSet.makeCountResult(ColumnIdentifier alias) |
static ResultSet |
ResultSet.makeCountResult(java.lang.String ksName,
java.lang.String cfName,
long count,
ColumnIdentifier alias) |
Constructor and Description |
---|
ColumnSpecification(java.lang.String ksName,
java.lang.String cfName,
ColumnIdentifier name,
AbstractType<?> type) |
Operation.ColumnDeletion(ColumnIdentifier id) |
Operation.ElementDeletion(ColumnIdentifier id,
Term.Raw element) |
Relation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value)
Creates a new relation.
|
Relation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value,
boolean onToken) |
Relation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value,
ColumnIdentifier previousInTuple) |
UTName(ColumnIdentifier ksName,
ColumnIdentifier utName) |
Constructor and Description |
---|
UserTypes.Literal(java.util.Map<ColumnIdentifier,Term.Raw> entries) |
VariableSpecifications(java.util.List<ColumnIdentifier> variableNames) |
Modifier and Type | Field and Description |
---|---|
ColumnIdentifier |
RawSelector.alias |
ColumnIdentifier |
IndexTarget.column |
ColumnIdentifier |
AlterTableStatement.columnName |
ColumnIdentifier |
Selectable.WithFieldSelection.field |
ColumnIdentifier |
Selectable.WritetimeOrTTL.id |
Modifier and Type | Method and Description |
---|---|
void |
CreateTableStatement.RawStatement.addColumnAlias(ColumnIdentifier alias) |
void |
CreateTableStatement.RawStatement.addDefinition(ColumnIdentifier def,
CQL3Type.Raw type) |
void |
CreateTypeStatement.addDefinition(ColumnIdentifier name,
CQL3Type.Raw type) |
static AlterTypeStatement |
AlterTypeStatement.addition(UTName name,
ColumnIdentifier fieldName,
CQL3Type.Raw type) |
void |
ModificationStatement.addKeyValue(ColumnIdentifier name,
Term value) |
static AlterTypeStatement |
AlterTypeStatement.alter(UTName name,
ColumnIdentifier fieldName,
CQL3Type.Raw type) |
static IndexTarget |
IndexTarget.keysOf(ColumnIdentifier c) |
static IndexTarget |
IndexTarget.of(ColumnIdentifier c) |
void |
Restriction.Slice.setBound(ColumnIdentifier name,
Relation.Type type,
Term t,
ColumnIdentifier previousName) |
void |
CreateTableStatement.RawStatement.setOrdering(ColumnIdentifier alias,
boolean reversed) |
Modifier and Type | Method and Description |
---|---|
void |
CreateTableStatement.RawStatement.addKeyAliases(java.util.List<ColumnIdentifier> aliases) |
protected java.util.Map<java.nio.ByteBuffer,CQL3Row> |
ModificationStatement.readRows(java.util.List<java.nio.ByteBuffer> partitionKeys,
Composite rowPrefix,
java.util.Set<ColumnIdentifier> toRead,
CFMetaData cfm,
boolean local,
ConsistencyLevel cl) |
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 |
---|
AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier columnName,
CQL3Type.Raw validator,
CFPropDefs cfProps,
java.util.Map<ColumnIdentifier,ColumnIdentifier> renames) |
RawSelector(Selectable selectable,
ColumnIdentifier alias) |
Selectable.WithFieldSelection(Selectable selected,
ColumnIdentifier field) |
Selectable.WritetimeOrTTL(ColumnIdentifier id,
boolean isWritetime) |
SelectStatement.Parameters(java.util.Map<ColumnIdentifier,java.lang.Boolean> orderings,
boolean isDistinct,
boolean isCount,
ColumnIdentifier countAlias,
boolean allowFiltering) |
Constructor and Description |
---|
AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier columnName,
CQL3Type.Raw validator,
CFPropDefs cfProps,
java.util.Map<ColumnIdentifier,ColumnIdentifier> renames) |
AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier columnName,
CQL3Type.Raw validator,
CFPropDefs cfProps,
java.util.Map<ColumnIdentifier,ColumnIdentifier> renames) |
DeleteStatement.Parsed(CFName name,
Attributes.Raw attrs,
java.util.List<Operation.RawDeletion> deletions,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions) |
ModificationStatement.Parsed(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions,
boolean ifNotExists) |
SelectStatement.Parameters(java.util.Map<ColumnIdentifier,java.lang.Boolean> orderings,
boolean isDistinct,
boolean isCount,
ColumnIdentifier countAlias,
boolean allowFiltering) |
UpdateStatement.ParsedInsert(CFName name,
Attributes.Raw attrs,
java.util.List<ColumnIdentifier> columnNames,
java.util.List<Term.Raw> columnValues,
boolean ifNotExists)
A parsed
INSERT statement. |
UpdateStatement.ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> updates,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions)
Creates a new UpdateStatement from a column family name, columns map, consistency
level, and key term.
|
UpdateStatement.ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> updates,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> conditions)
Creates a new UpdateStatement from a column family name, columns map, consistency
level, and key term.
|
Modifier and Type | Field and Description |
---|---|
protected ColumnIdentifier |
CompoundSparseCellName.columnName |
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()
The name of the CQL3 column this cell represents.
|
ColumnIdentifier |
CompoundDenseCellName.cql3ColumnName() |
ColumnIdentifier |
CompoundSparseCellName.cql3ColumnName() |
ColumnIdentifier |
SimpleDenseCellName.cql3ColumnName() |
ColumnIdentifier |
SimpleSparseCellName.cql3ColumnName() |
protected ColumnIdentifier |
CompoundSparseCellNameType.idFor(java.nio.ByteBuffer bb) |
Modifier and Type | Method and Description |
---|---|
CellNameType |
AbstractCellNameType.addCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
CellNameType |
CellNameType.addCollection(ColumnIdentifier columnName,
CollectionType newCollection)
Return the new type obtained by adding the new collection type for the provided column name
to this type.
|
CellNameType |
CompoundSparseCellNameType.addCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
CellNameType |
CompoundSparseCellNameType.WithCollection.addCollection(ColumnIdentifier columnName,
CollectionType newCollection) |
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) |
CellName |
CellNameType.create(Composite prefix,
ColumnIdentifier columnName)
Creates a new CellName given a clustering prefix and a CQL3 columnName.
|
CellName |
CompoundDenseCellNameType.create(Composite prefix,
ColumnIdentifier columnName) |
CellName |
CompoundSparseCellNameType.create(Composite prefix,
ColumnIdentifier columnName) |
CellName |
SimpleDenseCellNameType.create(Composite prefix,
ColumnIdentifier columnName) |
CellName |
SimpleSparseCellNameType.create(Composite prefix,
ColumnIdentifier columnName) |
CellName |
AbstractCellNameType.create(Composite prefix,
ColumnIdentifier columnName,
java.nio.ByteBuffer collectionElement) |
CellName |
CellNameType.create(Composite prefix,
ColumnIdentifier columnName,
java.nio.ByteBuffer collectionElement)
Creates a new collection CellName given a clustering prefix, a CQL3 columnName and the collection element.
|
CellName |
CompoundSparseCellNameType.WithCollection.create(Composite prefix,
ColumnIdentifier columnName,
java.nio.ByteBuffer collectionElement) |
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) |
Modifier and Type | Method and Description |
---|---|
CompositeType.Builder |
CompositeType.Builder.add(ColumnIdentifier name) |
Copyright © 2014 The Apache Software Foundation