Module org.apache.lucene.codecs
Class SimpleTextPointsWriter
java.lang.Object
org.apache.lucene.codecs.PointsWriter
org.apache.lucene.codecs.simpletext.SimpleTextPointsWriter
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefprivate IndexOutputstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRefstatic final BytesRef(package private) final BytesRefBuilderstatic final BytesRefstatic final BytesRefstatic final BytesRef(package private) final SegmentWriteState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidfinish()Called once at the end before closeprivate voidnewline(IndexOutput out) private voidwrite(IndexOutput out, String s) private voidwrite(IndexOutput out, BytesRef b) voidwriteField(FieldInfo fieldInfo, PointsReader reader) Write all values contained in the provided readerMethods inherited from class org.apache.lucene.codecs.PointsWriter
merge, mergeOneField
-
Field Details
-
NUM_DATA_DIMS
-
NUM_INDEX_DIMS
-
BYTES_PER_DIM
-
MAX_LEAF_POINTS
-
INDEX_COUNT
-
BLOCK_COUNT
-
BLOCK_DOC_ID
-
BLOCK_FP
-
BLOCK_VALUE
-
SPLIT_COUNT
-
SPLIT_DIM
-
SPLIT_VALUE
-
FIELD_COUNT
-
FIELD_FP_NAME
-
FIELD_FP
-
MIN_VALUE
-
MAX_VALUE
-
POINT_COUNT
-
DOC_COUNT
-
END
-
dataOut
-
scratch
-
writeState
-
indexFPs
-
-
Constructor Details
-
SimpleTextPointsWriter
- Throws:
IOException
-
-
Method Details
-
writeField
Description copied from class:PointsWriterWrite all values contained in the provided reader- Specified by:
writeFieldin classPointsWriter- Throws:
IOException
-
finish
Description copied from class:PointsWriterCalled once at the end before close- Specified by:
finishin classPointsWriter- Throws:
IOException
-
close
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
newline
- Throws:
IOException
-