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 values)
Write all values contained in the provided reader
|
mergeOneField
protected final IndexOutput dataOut
public Lucene60PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) throws IOException
IOException
public Lucene60PointsWriter(SegmentWriteState writeState) throws IOException
maxPointsInLeafNode
(1024) and maxMBSortInHeap
(16.0)IOException
public void writeField(FieldInfo fieldInfo, PointsReader values) throws IOException
PointsWriter
writeField
in class PointsWriter
IOException
public void merge(MergeState mergeState) throws IOException
PointsWriter
merge
in class PointsWriter
IOException
public void finish() throws IOException
PointsWriter
finish
in class PointsWriter
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.