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
-
public class StorageAttachedIndexBuilder extends SecondaryIndexBuilder
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 Modifier and Type Field Description protected static org.slf4j.Logger
logger
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build()
CompactionInfo
getCompactionInfo()
-
Methods inherited from class org.apache.cassandra.index.SecondaryIndexBuilder
isGlobal
-
Methods inherited from class org.apache.cassandra.db.compaction.CompactionInfo.Holder
isStopRequested, stop
-
-
-
-
Method Detail
-
build
public void build()
- Specified by:
build
in classSecondaryIndexBuilder
-
getCompactionInfo
public CompactionInfo getCompactionInfo()
- Specified by:
getCompactionInfo
in classCompactionInfo.Holder
-
-