Class Lucene90PointsWriter
- java.lang.Object
-
- org.apache.lucene.codecs.PointsWriter
-
- org.apache.lucene.codecs.lucene90.Lucene90PointsWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class Lucene90PointsWriter extends PointsWriter
Writes dimensional values
-
-
Field Summary
Fields Modifier and Type Field Description protected IndexOutputdataOutOutputs used to write the BKD tree data files.protected IndexOutputindexOutOutputs used to write the BKD tree data files.protected IndexOutputmetaOutOutputs used to write the BKD tree data files.
-
Constructor Summary
Constructors Constructor Description Lucene90PointsWriter(SegmentWriteState writeState)Uses the defaults values formaxPointsInLeafNode(512) andmaxMBSortInHeap(16.0)Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap)Full constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidfinish()Called once at the end before closevoidmerge(MergeState mergeState)Default merge implementation to merge incoming points readers by visiting all their points and adding to this writervoidwriteField(FieldInfo fieldInfo, PointsReader reader)Write all values contained in the provided reader-
Methods inherited from class org.apache.lucene.codecs.PointsWriter
mergeOneField
-
-
-
-
Field Detail
-
metaOut
protected final IndexOutput metaOut
Outputs used to write the BKD tree data files.
-
indexOut
protected final IndexOutput indexOut
Outputs used to write the BKD tree data files.
-
dataOut
protected final IndexOutput dataOut
Outputs used to write the BKD tree data files.
-
-
Constructor Detail
-
Lucene90PointsWriter
public Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) throws IOException
Full constructor- Throws:
IOException
-
Lucene90PointsWriter
public Lucene90PointsWriter(SegmentWriteState writeState) throws IOException
Uses the defaults values formaxPointsInLeafNode(512) andmaxMBSortInHeap(16.0)- Throws:
IOException
-
-
Method Detail
-
writeField
public void writeField(FieldInfo fieldInfo, PointsReader reader) throws IOException
Description copied from class:PointsWriterWrite all values contained in the provided reader- Specified by:
writeFieldin classPointsWriter- Throws:
IOException
-
merge
public void merge(MergeState mergeState) throws IOException
Description copied from class:PointsWriterDefault merge implementation to merge incoming points readers by visiting all their points and adding to this writer- Overrides:
mergein classPointsWriter- Throws:
IOException
-
finish
public void finish() throws IOExceptionDescription copied from class:PointsWriterCalled once at the end before close- Specified by:
finishin classPointsWriter- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
-