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.EQRestriction.isSupportedBy(SecondaryIndex index) |
protected boolean |
MultiColumnRestriction.INRestriction.isSupportedBy(SecondaryIndex index) |
protected boolean |
MultiColumnRestriction.SliceRestriction.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.EQRestriction.isSupportedBy(SecondaryIndex index) |
protected boolean |
SingleColumnRestriction.INRestriction.isSupportedBy(SecondaryIndex index) |
protected boolean |
SingleColumnRestriction.SliceRestriction.isSupportedBy(SecondaryIndex index) |
protected boolean |
SingleColumnRestriction.ContainsRestriction.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 idxName) |
SecondaryIndex |
SecondaryIndexManager.getIndexForColumn(ColumnDefinition column) |
SecondaryIndex |
SecondaryIndexSearcher.highestSelectivityIndex(RowFilter filter) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.getIndexes() |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.getIndexesByNames(java.util.Set<java.lang.String> idxNames) |
java.util.Set<SecondaryIndex> |
SecondaryIndexManager.getIndexesNotBackedByCfs() |
Modifier and Type | Method and Description |
---|---|
void |
SecondaryIndexManager.indexPartition(UnfilteredRowIterator partition,
OpOrder.Group opGroup,
java.util.Set<SecondaryIndex> allIndexes,
int nowInSec)
When building an index against existing data, add the given partition to the index
|
Modifier and Type | Class and Description |
---|---|
class |
CompositesIndex
Base class for internal secondary indexes (this could be merged with AbstractSimplePerColumnSecondaryIndex).
|
class |
CompositesIndexIncludingCollectionKey
Common superclass for indexes that capture collection keys, including
indexes on such keys themselves.
|
class |
CompositesIndexOnClusteringKey
Index on a CLUSTERING 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 © 2015 The Apache Software Foundation