Package | Description |
---|---|
org.apache.cassandra.cql3.restrictions | |
org.apache.cassandra.db.index | |
org.apache.cassandra.db.index.composites | |
org.apache.cassandra.db.index.keys |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
MultiColumnRestriction.isSupportedBy(SecondaryIndex index)
Check if this type of restriction is supported for by the specified index.
|
protected boolean |
MultiColumnRestriction.EQ.isSupportedBy(SecondaryIndex index) |
protected boolean |
MultiColumnRestriction.IN.isSupportedBy(SecondaryIndex index) |
protected boolean |
MultiColumnRestriction.Slice.isSupportedBy(SecondaryIndex index) |
protected abstract boolean |
SingleColumnRestriction.isSupportedBy(SecondaryIndex index)
Check if this type of restriction is supported by the specified index.
|
protected boolean |
SingleColumnRestriction.EQ.isSupportedBy(SecondaryIndex index) |
protected boolean |
SingleColumnRestriction.IN.isSupportedBy(SecondaryIndex index) |
protected boolean |
SingleColumnRestriction.Slice.isSupportedBy(SecondaryIndex index) |
protected boolean |
SingleColumnRestriction.Contains.isSupportedBy(SecondaryIndex index) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSimplePerColumnSecondaryIndex
Implements a secondary index for a column family using a second column family
in which the row keys are indexed values, and column names are base row keys.
|
class |
PerColumnSecondaryIndex
Base class for Secondary indexes that implement a unique index per column
|
class |
PerRowSecondaryIndex
Base class for Secondary indexes that implement a unique index per row
|
Modifier and Type | Method and Description |
---|---|
static SecondaryIndex |
SecondaryIndex.createInstance(ColumnFamilyStore baseCfs,
ColumnDefinition cdef)
This is the primary way to create a secondary index instance for a CF column.
|
SecondaryIndex |
SecondaryIndexManager.getIndexByName(java.lang.String name) |
SecondaryIndex |
SecondaryIndexManager.getIndexForColumn(java.nio.ByteBuffer column) |
SecondaryIndex |
SecondaryIndexSearcher.highestSelectivityIndex(java.util.List<IndexExpression> clause) |
SecondaryIndex |
SecondaryIndexManager.validate(java.nio.ByteBuffer rowKey,
Cell cell) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SecondaryIndex> |
SecondaryIndexManager.getIndexes() |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.getIndexesByNames(java.util.Set<java.lang.String> idxNames) |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.getIndexesNotBackedByCfs() |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.indexFor(CellName name) |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.indexFor(CellName name,
java.util.Collection<SecondaryIndex> indexes) |
Modifier and Type | Method and Description |
---|---|
boolean |
SecondaryIndexManager.indexes(CellName name,
java.util.Collection<SecondaryIndex> indexes) |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.indexFor(CellName name,
java.util.Collection<SecondaryIndex> indexes) |
Modifier and Type | Class and Description |
---|---|
class |
CompositesIndex
Base class for secondary indexes where composites are involved.
|
class |
CompositesIndexIncludingCollectionKey
Common superclass for indexes that capture collection keys, including
indexes on such keys themselves.
|
class |
CompositesIndexOnClusteringKey
Index on a CLUSTERING_COLUMN column definition.
|
class |
CompositesIndexOnCollectionKey
Index on the collection element of the cell name of a collection.
|
class |
CompositesIndexOnCollectionKeyAndValue
Index on the element and value of cells participating in a collection.
|
class |
CompositesIndexOnCollectionValue
Index the value of a collection cell.
|
class |
CompositesIndexOnPartitionKey
Index on a PARTITION_KEY column definition.
|
class |
CompositesIndexOnRegular
Index on a REGULAR column definition on a composite type.
|
Modifier and Type | Class and Description |
---|---|
class |
KeysIndex
Implements a secondary index for a column family using a second column family.
|
Copyright © 2020 The Apache Software Foundation