public FieldsConsumer fieldsConsumer(SegmentWriteState state)throws IOException {if (delegatePostingsFormat == null) {throw new UnsupportedOperationException("Error - " + getClass().getName()+ " has been constructed without a choice of PostingsFormat");}FieldsConsumer fieldsConsumer = delegatePostingsFormat.fieldsConsumer(state);return new BloomFilteredFieldsConsumer(fieldsConsumer, state);}
public override FieldsConsumer FieldsConsumer(SegmentWriteState state){if (_delegatePostingsFormat == null){throw new InvalidOperationException("Error - constructed without a choice of PostingsFormat");}return new BloomFilteredFieldsConsumer(this, _delegatePostingsFormat.FieldsConsumer(state), state);}