public class Lucene60PointsWriter extends PointsWriter implements Closeable
| Modifier and Type | Field and Description |
|---|---|
protected IndexOutput |
dataOut
Output used to write the BKD tree data file
|
protected Map<String,Long> |
indexFPs
Maps field name to file pointer in the data file where the BKD index is located.
|
| Constructor and Description |
|---|
Lucene60PointsWriter(SegmentWriteState writeState)
Uses the defaults values for
maxPointsInLeafNode (1024) and maxMBSortInHeap (16.0) |
Lucene60PointsWriter(SegmentWriteState writeState,
int maxPointsInLeafNode,
double maxMBSortInHeap)
Full constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finish()
Called once at the end before close
|
void |
merge(MergeState mergeState)
Default merge implementation to merge incoming points readers by visiting all their points and
adding to this writer
|
void |
writeField(FieldInfo fieldInfo,
PointsReader reader)
Write all values contained in the provided reader
|
mergeOneFieldprotected final IndexOutput dataOut
public Lucene60PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) throws IOException
IOExceptionpublic Lucene60PointsWriter(SegmentWriteState writeState) throws IOException
maxPointsInLeafNode (1024) and maxMBSortInHeap (16.0)IOExceptionpublic void writeField(FieldInfo fieldInfo, PointsReader reader) throws IOException
PointsWriterwriteField in class PointsWriterIOExceptionpublic void merge(MergeState mergeState) throws IOException
PointsWritermerge in class PointsWriterIOExceptionpublic void finish()
throws IOException
PointsWriterfinish in class PointsWriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.