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 BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
private IndexOutput
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
static final BytesRef
(package private) final BytesRefBuilder
static final BytesRef
static final BytesRef
static final BytesRef
(package private) final SegmentWriteState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
finish()
Called once at the end before closeprivate void
newline
(IndexOutput out) private void
write
(IndexOutput out, String s) private void
write
(IndexOutput out, BytesRef b) void
writeField
(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:PointsWriter
Write all values contained in the provided reader- Specified by:
writeField
in classPointsWriter
- Throws:
IOException
-
finish
Description copied from class:PointsWriter
Called once at the end before close- Specified by:
finish
in classPointsWriter
- Throws:
IOException
-
close
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
newline
- Throws:
IOException
-