| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | CFMetaData. indexColumnFamilyName(IndexMetadata info)generate a column family name for an index corresponding to the given column. | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMetadata | ReadCommand. indexMetadata()Index (metadata) chosen for this query. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SinglePartitionReadCommand | SinglePartitionReadCommand. create(boolean isForThrift,
      CFMetaData metadata,
      int nowInSec,
      ColumnFilter columnFilter,
      RowFilter rowFilter,
      DataLimits limits,
      DecoratedKey partitionKey,
      ClusteringIndexFilter clusteringIndexFilter,
      IndexMetadata indexMetadata)Creates a new read command on a single partition. | 
| abstract ReadCommand | ReadCommand.SelectionDeserializer. deserialize(DataInputPlus in,
           int version,
           boolean isDigest,
           int digestVersion,
           boolean isForThrift,
           CFMetaData metadata,
           int nowInSec,
           ColumnFilter columnFilter,
           RowFilter rowFilter,
           DataLimits limits,
           IndexMetadata index) | 
| Constructor and Description | 
|---|
| ReadCommand(ReadCommand.Kind kind,
           boolean isDigestQuery,
           int digestVersion,
           boolean isForThrift,
           CFMetaData metadata,
           int nowInSec,
           ColumnFilter columnFilter,
           RowFilter rowFilter,
           DataLimits limits,
           IndexMetadata index) | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMetadata | RowFilter.CustomExpression. getTargetIndex() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RowFilter. addCustomIndexExpression(CFMetaData cfm,
                        IndexMetadata targetIndex,
                        java.nio.ByteBuffer value) | 
| Constructor and Description | 
|---|
| CustomExpression(CFMetaData cfm,
                IndexMetadata targetIndex,
                java.nio.ByteBuffer value) | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMetadata | Index. getIndexMetadata()Returns the IndexMetadata which configures and defines the index instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Set<IndexMetadata> | SecondaryIndexManager. getDependentIndexes(ColumnDefinition column) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.Future<?> | SecondaryIndexManager. addIndex(IndexMetadata indexDef)Adds and builds a index | 
| Index | IndexRegistry. getIndex(IndexMetadata indexMetadata) | 
| Index | SecondaryIndexManager. getIndex(IndexMetadata metadata) | 
| java.util.concurrent.Callable<?> | Index. getMetadataReloadTask(IndexMetadata indexMetadata)Return a task to reload the internal metadata of an index. | 
| static Pair<ColumnDefinition,IndexTarget.Type> | TargetParser. parse(CFMetaData cfm,
     IndexMetadata indexDef) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected IndexMetadata | CassandraIndex. metadata | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMetadata | CassandraIndex. getIndexMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.Callable<?> | CassandraIndex. getMetadataReloadTask(IndexMetadata indexDef) | 
| static CFMetaData | CassandraIndex. indexCfsMetadata(CFMetaData baseCfsMetadata,
                IndexMetadata indexMetadata)Construct the CFMetadata for an index table, the clustering columns in the index table
 vary dependent on the kind of the indexed value. | 
| static CassandraIndex | CassandraIndex. newIndex(ColumnFamilyStore baseCfs,
        IndexMetadata indexMetadata)Factory method for new CassandraIndex instances | 
| CassandraIndex | CassandraIndexFunctions. newIndexInstance(ColumnFamilyStore baseCfs,
                IndexMetadata indexMetadata) | 
| Constructor and Description | 
|---|
| CassandraIndex(ColumnFamilyStore baseCfs,
              IndexMetadata indexDef) | 
| Constructor and Description | 
|---|
| ClusteringColumnIndex(ColumnFamilyStore baseCfs,
                     IndexMetadata indexDef) | 
| CollectionEntryIndex(ColumnFamilyStore baseCfs,
                    IndexMetadata indexDef) | 
| CollectionKeyIndex(ColumnFamilyStore baseCfs,
                  IndexMetadata indexDef) | 
| CollectionKeyIndexBase(ColumnFamilyStore baseCfs,
                      IndexMetadata indexDef) | 
| CollectionValueIndex(ColumnFamilyStore baseCfs,
                    IndexMetadata indexDef) | 
| PartitionKeyIndex(ColumnFamilyStore baseCfs,
                 IndexMetadata indexDef) | 
| RegularColumnIndex(ColumnFamilyStore baseCfs,
                  IndexMetadata indexDef) | 
| Constructor and Description | 
|---|
| KeysIndex(ColumnFamilyStore baseCfs,
         IndexMetadata indexDef) | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMetadata | SASIIndex. getIndexMetadata() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.Callable<?> | SASIIndex. getMetadataReloadTask(IndexMetadata indexMetadata) | 
| Constructor and Description | 
|---|
| SASIIndex(ColumnFamilyStore baseCfs,
         IndexMetadata config) | 
| Modifier and Type | Method and Description | 
|---|---|
| static IndexMode | IndexMode. getMode(ColumnDefinition column,
       java.util.Optional<IndexMetadata> config) | 
| Constructor and Description | 
|---|
| ColumnIndex(AbstractType<?> keyValidator,
           ColumnDefinition column,
           IndexMetadata metadata) | 
| Modifier and Type | Method and Description | 
|---|---|
| IndexMetadata | IndexMetadata.Serializer. deserialize(DataInputPlus in,
           int version,
           CFMetaData cfm) | 
| static IndexMetadata | IndexMetadata. fromIndexTargets(CFMetaData cfm,
                java.util.List<IndexTarget> targets,
                java.lang.String name,
                IndexMetadata.Kind kind,
                java.util.Map<java.lang.String,java.lang.String> options) | 
| static IndexMetadata | IndexMetadata. fromLegacyMetadata(CFMetaData cfm,
                  ColumnDefinition column,
                  java.lang.String name,
                  IndexMetadata.Kind kind,
                  java.util.Map<java.lang.String,java.lang.String> options) | 
| static IndexMetadata | IndexMetadata. fromSchemaMetadata(java.lang.String name,
                  IndexMetadata.Kind kind,
                  java.util.Map<java.lang.String,java.lang.String> options) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.Optional<IndexMetadata> | Indexes. get(java.lang.String name)Get the index with the specified name | 
| java.util.Optional<IndexMetadata> | Indexes. get(java.util.UUID id)Get the index with the specified id | 
| java.util.Iterator<IndexMetadata> | Indexes. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| Indexes.Builder | Indexes.Builder. add(IndexMetadata index) | 
| boolean | IndexMetadata. equalsWithoutName(IndexMetadata other) | 
| Indexes | Indexes. replace(IndexMetadata index)Creates a SecondaryIndexes instance which contains an updated index definition | 
| void | IndexMetadata.Serializer. serialize(IndexMetadata metadata,
         DataOutputPlus out,
         int version) | 
| long | IndexMetadata.Serializer. serializedSize(IndexMetadata metadata,
              int version) | 
| Indexes | Indexes. with(IndexMetadata index)Create a SecondaryIndexes instance with the provided index added | 
| Modifier and Type | Method and Description | 
|---|---|
| Indexes.Builder | Indexes.Builder. add(java.lang.Iterable<IndexMetadata> indexes) | 
Copyright © 2018 The Apache Software Foundation