Class StoredFieldsInts
- java.lang.Object
-
- org.apache.lucene.codecs.lucene90.compressing.StoredFieldsInts
-
class StoredFieldsInts extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static int
BLOCK_SIZE
private static int
BLOCK_SIZE_MINUS_ONE
-
Constructor Summary
Constructors Modifier Constructor Description private
StoredFieldsInts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static void
readInts(IndexInput in, int count, long[] values, int offset)
Readcount
integers intovalues
.private static void
readInts16(IndexInput in, int count, long[] values, int offset)
private static void
readInts32(IndexInput in, int count, long[] values, int offset)
private static void
readInts8(IndexInput in, int count, long[] values, int offset)
(package private) static void
writeInts(int[] values, int start, int count, DataOutput out)
private static void
writeInts16(DataOutput out, int count, int[] values, int offset)
private static void
writeInts32(DataOutput out, int count, int[] values, int offset)
private static void
writeInts8(DataOutput out, int count, int[] values, int offset)
-
-
-
Field Detail
-
BLOCK_SIZE
private static final int BLOCK_SIZE
- See Also:
- Constant Field Values
-
BLOCK_SIZE_MINUS_ONE
private static final int BLOCK_SIZE_MINUS_ONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeInts
static void writeInts(int[] values, int start, int count, DataOutput out) throws java.io.IOException
- Throws:
java.io.IOException
-
writeInts8
private static void writeInts8(DataOutput out, int count, int[] values, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
writeInts16
private static void writeInts16(DataOutput out, int count, int[] values, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
writeInts32
private static void writeInts32(DataOutput out, int count, int[] values, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
readInts
static void readInts(IndexInput in, int count, long[] values, int offset) throws java.io.IOException
Readcount
integers intovalues
.- Throws:
java.io.IOException
-
readInts8
private static void readInts8(IndexInput in, int count, long[] values, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
readInts16
private static void readInts16(IndexInput in, int count, long[] values, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
readInts32
private static void readInts32(IndexInput in, int count, long[] values, int offset) throws java.io.IOException
- Throws:
java.io.IOException
-
-