Class CrankyCodec
java.lang.Object
org.apache.lucene.codecs.Codec
org.apache.lucene.codecs.FilterCodec
org.apache.lucene.tests.codecs.cranky.CrankyCodec
- All Implemented Interfaces:
NamedSPILoader.NamedSPI
Codec for testing that throws random IOExceptions
-
Field Summary
Fields inherited from class org.apache.lucene.codecs.FilterCodec
delegate
-
Constructor Summary
ConstructorDescriptionCrankyCodec
(Codec delegate, Random random) Wrap the provided codec with crankiness. -
Method Summary
Methods inherited from class org.apache.lucene.codecs.FilterCodec
knnVectorsFormat
Methods inherited from class org.apache.lucene.codecs.Codec
availableCodecs, forName, getDefault, getName, reloadCodecs, setDefault
-
Constructor Details
-
CrankyCodec
Wrap the provided codec with crankiness. Try passing Asserting for the most fun.
-
-
Method Details
-
docValuesFormat
- Overrides:
docValuesFormat
in classFilterCodec
-
fieldInfosFormat
- Overrides:
fieldInfosFormat
in classFilterCodec
-
liveDocsFormat
- Overrides:
liveDocsFormat
in classFilterCodec
-
normsFormat
- Overrides:
normsFormat
in classFilterCodec
-
postingsFormat
- Overrides:
postingsFormat
in classFilterCodec
-
segmentInfoFormat
- Overrides:
segmentInfoFormat
in classFilterCodec
-
storedFieldsFormat
- Overrides:
storedFieldsFormat
in classFilterCodec
-
termVectorsFormat
- Overrides:
termVectorsFormat
in classFilterCodec
-
compoundFormat
- Overrides:
compoundFormat
in classFilterCodec
-
pointsFormat
- Overrides:
pointsFormat
in classFilterCodec
-
toString
-