public class Lucene86PointsWriter extends PointsWriter implements
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
public Lucene86PointsWriter(SegmentWriteState writeState) throws
maxPointsInLeafNode
(1024) and maxMBSortInHeap
(16.0)
public void writeField(FieldInfo fieldInfo, PointsReader reader) throws
PointsWriter
writeField
in class PointsWriter
public void merge(MergeState mergeState) throws
PointsWriter
merge
in class PointsWriter
public void finish() throws
PointsWriter
finish
in class PointsWriter
public void close() throws
in interface
in interface
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.