java.lang.Object
org.apache.lucene.util.bkd.DocIdsWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byteprivate static final byteprivate static final byteprivate static final byteprivate static final byteprivate static final byteprivate final int[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidreadBitSet(IndexInput in, int count, int[] docIDs) private static voidreadBitSet(IndexInput in, int count, PointValues.IntersectVisitor visitor) private static DocIdSetIteratorreadBitSetIterator(IndexInput in, int count) private static voidreadContinuousIds(IndexInput in, int count, int[] docIDs) private static voidreadContinuousIds(IndexInput in, int count, PointValues.IntersectVisitor visitor) private static voidreadDelta16(IndexInput in, int count, int[] docIDs) private voidreadDelta16(IndexInput in, int count, PointValues.IntersectVisitor visitor) (package private) voidreadInts(IndexInput in, int count, int[] docIDs) Readcountintegers intodocIDs.(package private) voidreadInts(IndexInput in, int count, PointValues.IntersectVisitor visitor) Readcountintegers and feed the result directly toPointValues.IntersectVisitor.visit(int).private static voidreadInts24(IndexInput in, int count, int[] docIDs) private static voidreadInts24(IndexInput in, int count, PointValues.IntersectVisitor visitor) private static voidreadInts32(IndexInput in, int count, int[] docIDs) private voidreadInts32(IndexInput in, int count, PointValues.IntersectVisitor visitor) private static voidreadLegacyDeltaVInts(IndexInput in, int count, int[] docIDs) private static voidreadLegacyDeltaVInts(IndexInput in, int count, PointValues.IntersectVisitor visitor) (package private) voidwriteDocIds(int[] docIds, int start, int count, DataOutput out) private static voidwriteIdsAsBitSet(int[] docIds, int start, int count, DataOutput out)
-
Field Details
-
CONTINUOUS_IDS
private static final byte CONTINUOUS_IDS- See Also:
-
BITSET_IDS
private static final byte BITSET_IDS- See Also:
-
DELTA_BPV_16
private static final byte DELTA_BPV_16- See Also:
-
BPV_24
private static final byte BPV_24- See Also:
-
BPV_32
private static final byte BPV_32- See Also:
-
LEGACY_DELTA_VINT
private static final byte LEGACY_DELTA_VINT- See Also:
-
scratch
private final int[] scratch
-
-
Constructor Details
-
DocIdsWriter
DocIdsWriter(int maxPointsInLeaf)
-
-
Method Details
-
writeDocIds
- Throws:
IOException
-
writeIdsAsBitSet
private static void writeIdsAsBitSet(int[] docIds, int start, int count, DataOutput out) throws IOException - Throws:
IOException
-
readInts
Readcountintegers intodocIDs.- Throws:
IOException
-
readBitSetIterator
- Throws:
IOException
-
readContinuousIds
- Throws:
IOException
-
readLegacyDeltaVInts
- Throws:
IOException
-
readBitSet
- Throws:
IOException
-
readDelta16
- Throws:
IOException
-
readInts24
- Throws:
IOException
-
readInts32
- Throws:
IOException
-
readInts
Readcountintegers and feed the result directly toPointValues.IntersectVisitor.visit(int).- Throws:
IOException
-
readBitSet
private static void readBitSet(IndexInput in, int count, PointValues.IntersectVisitor visitor) throws IOException - Throws:
IOException
-
readContinuousIds
private static void readContinuousIds(IndexInput in, int count, PointValues.IntersectVisitor visitor) throws IOException - Throws:
IOException
-
readLegacyDeltaVInts
private static void readLegacyDeltaVInts(IndexInput in, int count, PointValues.IntersectVisitor visitor) throws IOException - Throws:
IOException
-
readDelta16
private void readDelta16(IndexInput in, int count, PointValues.IntersectVisitor visitor) throws IOException - Throws:
IOException
-
readInts24
private static void readInts24(IndexInput in, int count, PointValues.IntersectVisitor visitor) throws IOException - Throws:
IOException
-
readInts32
private void readInts32(IndexInput in, int count, PointValues.IntersectVisitor visitor) throws IOException - Throws:
IOException
-