public interface CassandraIndexFunctions
Modifier and Type | Field and Description |
---|---|
static CassandraIndexFunctions |
CLUSTERING_COLUMN_INDEX_FUNCTIONS |
static CassandraIndexFunctions |
COLLECTION_ENTRY_INDEX_FUNCTIONS |
static CassandraIndexFunctions |
COLLECTION_KEY_INDEX_FUNCTIONS |
static CassandraIndexFunctions |
COLLECTION_VALUE_INDEX_FUNCTIONS |
static CassandraIndexFunctions |
KEYS_INDEX_FUNCTIONS |
static CassandraIndexFunctions |
PARTITION_KEY_INDEX_FUNCTIONS |
static CassandraIndexFunctions |
REGULAR_COLUMN_INDEX_FUNCTIONS |
Modifier and Type | Method and Description |
---|---|
default CFMetaData.Builder |
addIndexClusteringColumns(CFMetaData.Builder builder,
CFMetaData baseMetadata,
ColumnDefinition cfDef)
Add the clustering columns for a specific type of index table to the a CFMetaData.Builder (which is being
used to construct the index table's CFMetadata.
|
default AbstractType<?> |
getIndexedValueType(ColumnDefinition indexedColumn)
Returns the type of the the values in the index.
|
CassandraIndex |
newIndexInstance(ColumnFamilyStore baseCfs,
IndexMetadata indexMetadata) |
static final CassandraIndexFunctions KEYS_INDEX_FUNCTIONS
static final CassandraIndexFunctions REGULAR_COLUMN_INDEX_FUNCTIONS
static final CassandraIndexFunctions CLUSTERING_COLUMN_INDEX_FUNCTIONS
static final CassandraIndexFunctions PARTITION_KEY_INDEX_FUNCTIONS
static final CassandraIndexFunctions COLLECTION_KEY_INDEX_FUNCTIONS
static final CassandraIndexFunctions COLLECTION_VALUE_INDEX_FUNCTIONS
static final CassandraIndexFunctions COLLECTION_ENTRY_INDEX_FUNCTIONS
CassandraIndex newIndexInstance(ColumnFamilyStore baseCfs, IndexMetadata indexMetadata)
baseCfs
- indexMetadata
- default AbstractType<?> getIndexedValueType(ColumnDefinition indexedColumn)
indexedColumn
- default CFMetaData.Builder addIndexClusteringColumns(CFMetaData.Builder builder, CFMetaData baseMetadata, ColumnDefinition cfDef)
builder
- baseMetadata
- cfDef
- Copyright © 2017 The Apache Software Foundation