Package | Description |
---|---|
org.apache.cassandra.cql3 | |
org.apache.cassandra.cql3.selection | |
org.apache.cassandra.cql3.statements |
Modifier and Type | Class and Description |
---|---|
static class |
ColumnIdentifier.ColumnIdentifierValue |
static class |
ColumnIdentifier.Literal |
Modifier and Type | Method and Description |
---|---|
ColumnIdentifier.Raw |
Operation.RawDeletion.affectedColumn()
The name of the column affected by this delete operation.
|
ColumnIdentifier.Raw |
Operation.ColumnDeletion.affectedColumn() |
ColumnIdentifier.Raw |
Operation.ElementDeletion.affectedColumn() |
ColumnIdentifier.Raw |
SingleColumnRelation.getEntity() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ColumnIdentifier.Raw> |
MultiColumnRelation.getEntities() |
Modifier and Type | Method and Description |
---|---|
static SingleColumnRelation |
SingleColumnRelation.createInRelation(ColumnIdentifier.Raw entity,
java.util.List<Term.Raw> inValues) |
Relation |
MultiColumnRelation.renameIdentifier(ColumnIdentifier.Raw from,
ColumnIdentifier.Raw to) |
abstract Relation |
Relation.renameIdentifier(ColumnIdentifier.Raw from,
ColumnIdentifier.Raw to)
Renames an identifier in this Relation, if applicable.
|
Relation |
SingleColumnRelation.renameIdentifier(ColumnIdentifier.Raw from,
ColumnIdentifier.Raw to) |
Relation |
TokenRelation.renameIdentifier(ColumnIdentifier.Raw from,
ColumnIdentifier.Raw to) |
protected ColumnDefinition |
Relation.toColumnDefinition(CFMetaData cfm,
ColumnIdentifier.Raw entity)
Converts the specified entity into a column definition.
|
Modifier and Type | Method and Description |
---|---|
static MultiColumnRelation |
MultiColumnRelation.createInRelation(java.util.List<ColumnIdentifier.Raw> entities,
java.util.List<? extends Term.MultiColumnRaw> inValues)
Creates a multi-column IN relation with a list of IN values or markers.
|
static MultiColumnRelation |
MultiColumnRelation.createNonInRelation(java.util.List<ColumnIdentifier.Raw> entities,
Operator relationType,
Term.MultiColumnRaw valuesOrMarker)
Creates a multi-column EQ, LT, LTE, GT, or GTE relation.
|
static MultiColumnRelation |
MultiColumnRelation.createSingleMarkerInRelation(java.util.List<ColumnIdentifier.Raw> entities,
Tuples.INRaw inMarker)
Creates a multi-column IN relation with a marker for the IN values.
|
Constructor and Description |
---|
ColumnDeletion(ColumnIdentifier.Raw id) |
ElementDeletion(ColumnIdentifier.Raw id,
Term.Raw element) |
SingleColumnRelation(ColumnIdentifier.Raw entity,
Operator type,
Term.Raw value)
Creates a new relation.
|
SingleColumnRelation(ColumnIdentifier.Raw entity,
Term.Raw mapKey,
Operator type,
Term.Raw value)
Creates a new relation.
|
Constructor and Description |
---|
TokenRelation(java.util.List<ColumnIdentifier.Raw> entities,
Operator type,
Term.Raw value) |
Constructor and Description |
---|
Raw(ColumnIdentifier.Raw id,
boolean isWritetime) |
Raw(Selectable.Raw selected,
ColumnIdentifier.Raw field) |
Modifier and Type | Field and Description |
---|---|
ColumnIdentifier.Raw |
AlterTableStatement.rawColumnName |
Modifier and Type | Field and Description |
---|---|
java.util.Map<ColumnIdentifier.Raw,java.lang.Boolean> |
SelectStatement.Parameters.orderings |
Modifier and Type | Method and Description |
---|---|
static IndexTarget.Raw |
IndexTarget.Raw.fullCollection(ColumnIdentifier.Raw c) |
protected static ColumnDefinition |
ModificationStatement.Parsed.getColumnDefinition(CFMetaData cfm,
ColumnIdentifier.Raw rawId)
Retrieves the
ColumnDefinition corresponding to the specified raw ColumnIdentifier . |
static IndexTarget.Raw |
IndexTarget.Raw.keysAndValuesOf(ColumnIdentifier.Raw c) |
static IndexTarget.Raw |
IndexTarget.Raw.keysOf(ColumnIdentifier.Raw c) |
static IndexTarget.Raw |
IndexTarget.Raw.simpleIndexOn(ColumnIdentifier.Raw c) |
static IndexTarget.Raw |
IndexTarget.Raw.valuesOf(ColumnIdentifier.Raw c) |
Constructor and Description |
---|
AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier.Raw columnName,
CQL3Type.Raw validator,
TableAttributes attrs,
java.util.Map<ColumnIdentifier.Raw,ColumnIdentifier.Raw> renames,
boolean isStatic,
java.lang.Long deleteTimestamp) |
Constructor and Description |
---|
AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier.Raw columnName,
CQL3Type.Raw validator,
TableAttributes attrs,
java.util.Map<ColumnIdentifier.Raw,ColumnIdentifier.Raw> renames,
boolean isStatic,
java.lang.Long deleteTimestamp) |
AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier.Raw columnName,
CQL3Type.Raw validator,
TableAttributes attrs,
java.util.Map<ColumnIdentifier.Raw,ColumnIdentifier.Raw> renames,
boolean isStatic,
java.lang.Long deleteTimestamp) |
CreateViewStatement(CFName viewName,
CFName baseName,
java.util.List<RawSelector> selectClause,
WhereClause whereClause,
java.util.List<ColumnIdentifier.Raw> partitionKeys,
java.util.List<ColumnIdentifier.Raw> clusteringKeys,
boolean ifNotExists) |
CreateViewStatement(CFName viewName,
CFName baseName,
java.util.List<RawSelector> selectClause,
WhereClause whereClause,
java.util.List<ColumnIdentifier.Raw> partitionKeys,
java.util.List<ColumnIdentifier.Raw> clusteringKeys,
boolean ifNotExists) |
Parameters(java.util.Map<ColumnIdentifier.Raw,java.lang.Boolean> orderings,
boolean isDistinct,
boolean allowFiltering,
boolean isJson) |
Parsed(CFName name,
Attributes.Raw attrs,
java.util.List<Operation.RawDeletion> deletions,
WhereClause whereClause,
java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions,
boolean ifExists) |
Parsed(CFName name,
StatementType type,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions,
boolean ifNotExists,
boolean ifExists) |
ParsedInsert(CFName name,
Attributes.Raw attrs,
java.util.List<ColumnIdentifier.Raw> columnNames,
java.util.List<Term.Raw> columnValues,
boolean ifNotExists)
A parsed
INSERT statement. |
ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier.Raw,Operation.RawUpdate>> updates,
WhereClause whereClause,
java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions,
boolean ifExists)
Creates a new UpdateStatement from a column family name, columns map, consistency
level, and key term.
|
ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier.Raw,Operation.RawUpdate>> updates,
WhereClause whereClause,
java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions,
boolean ifExists)
Creates a new UpdateStatement from a column family name, columns map, consistency
level, and key term.
|
Copyright © 2016 The Apache Software Foundation