Class AbstractBlockPackedReader
java.lang.Object
org.apache.cassandra.index.sai.disk.v1.bitpack.AbstractBlockPackedReader
- All Implemented Interfaces:
Closeable,AutoCloseable,LongArray
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.index.sai.disk.v1.LongArray
LongArray.DeferredLongArray, LongArray.Factory -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract longblockOffsetAt(int block) longget(long valueIndex) Get value atidx.longindexOf(long value) Using the given value returns the first index corresponding to the value.longlength()Get array length.
-
Method Details
-
blockOffsetAt
protected abstract long blockOffsetAt(int block) -
get
public long get(long valueIndex) Description copied from interface:LongArrayGet value atidx. -
length
public long length()Description copied from interface:LongArrayGet array length. -
indexOf
public long indexOf(long value) Description copied from interface:LongArrayUsing the given value returns the first index corresponding to the value.
-