Class NumericValuesWriter
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.bitpack.NumericValuesWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionNumericValuesWriter(IndexDescriptor indexDescriptor, IndexComponent indexComponent, MetadataWriter metadataWriter, boolean monotonic) NumericValuesWriter(IndexDescriptor indexDescriptor, IndexComponent indexComponent, MetadataWriter metadataWriter, boolean monotonic, int blockSize) -
Method Summary
-
Field Details
-
MONOTONIC_BLOCK_SIZE
public static final int MONOTONIC_BLOCK_SIZE- See Also:
-
BLOCK_SIZE
public static final int BLOCK_SIZE- See Also:
-
-
Constructor Details
-
NumericValuesWriter
public NumericValuesWriter(IndexDescriptor indexDescriptor, IndexComponent indexComponent, MetadataWriter metadataWriter, boolean monotonic) throws IOException - Throws:
IOException
-
NumericValuesWriter
public NumericValuesWriter(IndexDescriptor indexDescriptor, IndexComponent indexComponent, MetadataWriter metadataWriter, boolean monotonic, int blockSize) throws IOException - Throws:
IOException
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
add
- Throws:
IOException
-