Package org.apache.cassandra.index.sai
Class StorageAttachedIndexBuilder
java.lang.Object
org.apache.cassandra.db.compaction.CompactionInfo.Holder
org.apache.cassandra.index.SecondaryIndexBuilder
org.apache.cassandra.index.sai.StorageAttachedIndexBuilder
Multiple storage-attached indexes can start building concurrently. We need to make sure:
1. Per-SSTable index files are built only once
a. Per-SSTable index files already built, do nothing
b. Per-SSTable index files are currently building, we need to wait until it's built in order to consider index built.
2. Per-column index files are built for each column index
-
Field Summary
Fields -
Method Summary
Methods inherited from class org.apache.cassandra.index.SecondaryIndexBuilder
isGlobalMethods inherited from class org.apache.cassandra.db.compaction.CompactionInfo.Holder
isStopRequested, stop
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Method Details
-
build
public void build()- Specified by:
buildin classSecondaryIndexBuilder
-
getCompactionInfo
- Specified by:
getCompactionInfoin classCompactionInfo.Holder
-