public class Lucene86PointsWriter extends PointsWriter implements Closeable
Modifier and Type | Field and Description |
---|---|
protected IndexOutput |
dataOut
Outputs used to write the BKD tree data files.
|
protected IndexOutput |
indexOut
Outputs used to write the BKD tree data files.
|
protected IndexOutput |
metaOut
Outputs used to write the BKD tree data files.
|
Constructor and Description |
---|
Lucene86PointsWriter(SegmentWriteState writeState)
Uses the defaults values for
maxPointsInLeafNode (1024) and maxMBSortInHeap (16.0) |
Lucene86PointsWriter(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
|
mergeOneField
protected final IndexOutput metaOut
protected final IndexOutput indexOut
protected final IndexOutput dataOut
public Lucene86PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) throws IOException
IOException
public Lucene86PointsWriter(SegmentWriteState writeState) throws IOException
maxPointsInLeafNode
(1024) and maxMBSortInHeap
(16.0)IOException
public void writeField(FieldInfo fieldInfo, PointsReader reader) 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-2021 Apache Software Foundation. All Rights Reserved.