class PointValuesWriter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ByteBlockPool |
bytes |
private int[] |
docIDs |
private FieldInfo |
fieldInfo |
private Counter |
iwBytesUsed |
private int |
lastDocID |
private int |
numDocs |
private int |
numPoints |
private byte[] |
packedValue |
Constructor and Description |
---|
PointValuesWriter(DocumentsWriterPerThread docWriter,
FieldInfo fieldInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addPackedValue(int docID,
BytesRef value) |
void |
flush(SegmentWriteState state,
PointsWriter writer) |
private final FieldInfo fieldInfo
private final ByteBlockPool bytes
private final Counter iwBytesUsed
private int[] docIDs
private int numPoints
private int numDocs
private int lastDocID
private final byte[] packedValue
public PointValuesWriter(DocumentsWriterPerThread docWriter, FieldInfo fieldInfo)
public void addPackedValue(int docID, BytesRef value)
public void flush(SegmentWriteState state, PointsWriter writer) throws java.io.IOException
java.io.IOException