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
public class CrankyCodec extends FilterCodec
Codec for testing that throws random IOExceptions
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.codecs.FilterCodec
delegate
-
-
Constructor Summary
Constructors Constructor Description CrankyCodec(Codec delegate, Random random)Wrap the provided codec with crankiness.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundFormatcompoundFormat()DocValuesFormatdocValuesFormat()FieldInfosFormatfieldInfosFormat()LiveDocsFormatliveDocsFormat()NormsFormatnormsFormat()PointsFormatpointsFormat()PostingsFormatpostingsFormat()SegmentInfoFormatsegmentInfoFormat()StoredFieldsFormatstoredFieldsFormat()TermVectorsFormattermVectorsFormat()StringtoString()-
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
-
-
-
-
Method Detail
-
docValuesFormat
public DocValuesFormat docValuesFormat()
- Overrides:
docValuesFormatin classFilterCodec
-
fieldInfosFormat
public FieldInfosFormat fieldInfosFormat()
- Overrides:
fieldInfosFormatin classFilterCodec
-
liveDocsFormat
public LiveDocsFormat liveDocsFormat()
- Overrides:
liveDocsFormatin classFilterCodec
-
normsFormat
public NormsFormat normsFormat()
- Overrides:
normsFormatin classFilterCodec
-
postingsFormat
public PostingsFormat postingsFormat()
- Overrides:
postingsFormatin classFilterCodec
-
segmentInfoFormat
public SegmentInfoFormat segmentInfoFormat()
- Overrides:
segmentInfoFormatin classFilterCodec
-
storedFieldsFormat
public StoredFieldsFormat storedFieldsFormat()
- Overrides:
storedFieldsFormatin classFilterCodec
-
termVectorsFormat
public TermVectorsFormat termVectorsFormat()
- Overrides:
termVectorsFormatin classFilterCodec
-
compoundFormat
public CompoundFormat compoundFormat()
- Overrides:
compoundFormatin classFilterCodec
-
pointsFormat
public PointsFormat pointsFormat()
- Overrides:
pointsFormatin classFilterCodec
-
-