Interface FieldIndexer

All Known Implementing Classes:
PicaGroupIndexer, SchemaFromInd1OrIf7FromSubfield2, SchemaFromInd1OrIfEmptyFromSubfield2, SchemaFromInd2, SchemaFromInd2AndSubfield2, SchemaFromInd2For055OrIf7FromSubfield2, SchemaFromSubfield2, SchemaIndicatorExtractor

public interface FieldIndexer
  • Method Summary

    Modifier and Type
    Method
    Description
    index(DataField dataField, DataFieldKeyGenerator keyGenerator)
    Indexes the given data field by extracting the entry subfields along with schema sources.
  • Method Details

    • index

      Map<String,List<String>> index(DataField dataField, DataFieldKeyGenerator keyGenerator)
      Indexes the given data field by extracting the entry subfields along with schema sources. The schema source is determined by the implementation.
      Parameters:
      dataField - The data field to be indexed.
      keyGenerator - The key generator to be used to generate the index key. Used primarily for creating the key for the entry subfield.
      Returns:
      A map containing the index key and the list of values extracted from the entry subfield.