Class Lucene90PointsWriter
java.lang.Object
org.apache.lucene.codecs.PointsWriter
org.apache.lucene.codecs.lucene90.Lucene90PointsWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
Writes dimensional values
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IndexOutputOutputs used to write the BKD tree data files.protected final IndexOutputOutputs used to write the BKD tree data files.protected final IndexOutputOutputs used to write the BKD tree data files. -
Constructor Summary
ConstructorsConstructorDescriptionLucene90PointsWriter(SegmentWriteState writeState) Uses the defaults values formaxPointsInLeafNode(512) andmaxMBSortInHeap(16.0)Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap, int version) Full constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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 readerMethods inherited from class org.apache.lucene.codecs.PointsWriter
mergeOneField
-
Field Details
-
metaOut
Outputs used to write the BKD tree data files. -
indexOut
Outputs used to write the BKD tree data files. -
dataOut
Outputs used to write the BKD tree data files.
-
-
Constructor Details
-
Lucene90PointsWriter
public Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap, int version) throws IOException Full constructor- Throws:
IOException
-
Lucene90PointsWriter
public Lucene90PointsWriter(SegmentWriteState writeState, int maxPointsInLeafNode, double maxMBSortInHeap) throws IOException - Throws:
IOException
-
Lucene90PointsWriter
Uses the defaults values formaxPointsInLeafNode(512) andmaxMBSortInHeap(16.0)- Throws:
IOException
-
-
Method Details
-
writeField
Description copied from class:PointsWriterWrite all values contained in the provided reader- Specified by:
writeFieldin classPointsWriter- Throws:
IOException
-
merge
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
Description copied from class:PointsWriterCalled once at the end before close- Specified by:
finishin classPointsWriter- Throws:
IOException
-
close
- Throws:
IOException
-