Class SkinnyPrimaryKeyMap.Factory
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.SkinnyPrimaryKeyMap.Factory
- All Implemented Interfaces:
Closeable,AutoCloseable,PrimaryKeyMap.Factory
- Direct Known Subclasses:
WidePrimaryKeyMap.Factory
- Enclosing class:
- SkinnyPrimaryKeyMap
@ThreadSafe
public static class SkinnyPrimaryKeyMap.Factory
extends Object
implements PrimaryKeyMap.Factory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final MetadataSourceprotected final KeyLookupprotected final PrimaryKey.Factoryprotected final LongArray.Factoryprotected final LongArray.Factoryprotected final SSTableId -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
metadataSource
-
rowToTokenReaderFactory
-
rowToPartitionReaderFactory
-
partitionKeyReader
-
-
sstableId
-
-
Constructor Details
-
Factory
-
-
Method Details
-
newPerSSTablePrimaryKeyMap
Description copied from interface:PrimaryKeyMap.FactoryCreates a newPrimaryKeyMapinstance- Specified by:
newPerSSTablePrimaryKeyMapin interfacePrimaryKeyMap.Factory- Returns:
- a
PrimaryKeyMap - Throws:
IOException- if thePrimaryKeyMapcouldn't be created
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfacePrimaryKeyMap.Factory
-