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 TableMetadata.Builder |
addIndexClusteringColumns(TableMetadata.Builder builder,
TableMetadata baseMetadata,
ColumnMetadata cfDef)
Add the clustering columns for a specific type of index table to the a TableMetadata.Builder (which is being
used to construct the index table's TableMetadata.
|
default AbstractType<?> |
getIndexedValueType(ColumnMetadata 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 COLLECTION_KEY_INDEX_FUNCTIONS
static final CassandraIndexFunctions PARTITION_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(ColumnMetadata indexedColumn)
indexedColumn
- default TableMetadata.Builder addIndexClusteringColumns(TableMetadata.Builder builder, TableMetadata baseMetadata, ColumnMetadata cfDef)
builder
- baseMetadata
- cfDef
- Copyright © 2009- The Apache Software Foundation