Class AssertingCodec
- java.lang.Object
- 
- org.apache.lucene.codecs.Codec
- 
- org.apache.lucene.codecs.FilterCodec
- 
- org.apache.lucene.codecs.asserting.AssertingCodec
 
 
 
- 
- All Implemented Interfaces:
- NamedSPILoader.NamedSPI
 - Direct Known Subclasses:
- RandomCodec
 
 public class AssertingCodec extends FilterCodec Acts like the default codec but with additional asserts.
- 
- 
Field Summary- 
Fields inherited from class org.apache.lucene.codecs.FilterCodecdelegate
 
- 
 - 
Constructor SummaryConstructors Constructor Description AssertingCodec()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DocValuesFormatdocValuesFormat()DocValuesFormatgetDocValuesFormatForField(String field)Returns the docvalues format that should be used for writing new segments offield.PostingsFormatgetPostingsFormatForField(String field)Returns the postings format that should be used for writing new segments offield.LiveDocsFormatliveDocsFormat()NormsFormatnormsFormat()PointsFormatpointsFormat()PostingsFormatpostingsFormat()StoredFieldsFormatstoredFieldsFormat()TermVectorsFormattermVectorsFormat()StringtoString()- 
Methods inherited from class org.apache.lucene.codecs.FilterCodeccompoundFormat, fieldInfosFormat, segmentInfoFormat
 - 
Methods inherited from class org.apache.lucene.codecs.CodecavailableCodecs, forName, getDefault, getName, reloadCodecs, setDefault
 
- 
 
- 
- 
- 
Method Detail- 
postingsFormatpublic PostingsFormat postingsFormat() - Overrides:
- postingsFormatin class- FilterCodec
 
 - 
termVectorsFormatpublic TermVectorsFormat termVectorsFormat() - Overrides:
- termVectorsFormatin class- FilterCodec
 
 - 
storedFieldsFormatpublic StoredFieldsFormat storedFieldsFormat() - Overrides:
- storedFieldsFormatin class- FilterCodec
 
 - 
docValuesFormatpublic DocValuesFormat docValuesFormat() - Overrides:
- docValuesFormatin class- FilterCodec
 
 - 
normsFormatpublic NormsFormat normsFormat() - Overrides:
- normsFormatin class- FilterCodec
 
 - 
liveDocsFormatpublic LiveDocsFormat liveDocsFormat() - Overrides:
- liveDocsFormatin class- FilterCodec
 
 - 
pointsFormatpublic PointsFormat pointsFormat() - Overrides:
- pointsFormatin class- FilterCodec
 
 - 
getPostingsFormatForFieldpublic PostingsFormat getPostingsFormatForField(String field) Returns the postings format that should be used for writing new segments offield. The default implementation always returns "Asserting"
 - 
getDocValuesFormatForFieldpublic DocValuesFormat getDocValuesFormatForField(String field) Returns the docvalues format that should be used for writing new segments offield. The default implementation always returns "Asserting"
 
- 
 
-