Class AssertingPointsFormat
- java.lang.Object
-
- org.apache.lucene.codecs.PointsFormat
-
- org.apache.lucene.tests.codecs.asserting.AssertingPointsFormat
-
public final class AssertingPointsFormat extends PointsFormat
Just like the default point format but with additional asserts.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.codecs.PointsFormat
EMPTY
-
-
Constructor Summary
Constructors Constructor Description AssertingPointsFormat()
Create a new AssertingPointsFormatAssertingPointsFormat(PointsFormat in)
Expert: Create an AssertingPointsFormat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointsReader
fieldsReader(SegmentReadState state)
PointsWriter
fieldsWriter(SegmentWriteState state)
-
-
-
Constructor Detail
-
AssertingPointsFormat
public AssertingPointsFormat()
Create a new AssertingPointsFormat
-
AssertingPointsFormat
public AssertingPointsFormat(PointsFormat in)
Expert: Create an AssertingPointsFormat. This is only intended to pass special parameters for testing.
-
-
Method Detail
-
fieldsWriter
public PointsWriter fieldsWriter(SegmentWriteState state) throws IOException
- Specified by:
fieldsWriter
in classPointsFormat
- Throws:
IOException
-
fieldsReader
public PointsReader fieldsReader(SegmentReadState state) throws IOException
- Specified by:
fieldsReader
in classPointsFormat
- Throws:
IOException
-
-