Interface ReducingTransformer


  • public interface ReducingTransformer
    • Method Detail

      • setKeyField

        void setKeyField​(java.lang.String keyFieldName)
        Is called once before the transformer runs
        Parameters:
        keyFieldName -
      • reduce

        IngestDocument reduce​(java.lang.String keyValue,
                              java.util.Iterator<IngestDocument> documents)
                       throws AttivioException
        Reduces a set of IngestDocument(s) based on key
        Parameters:
        keyValue - value being reduced on
        documents - list of documents with the same key
        Returns:
        reduced document
        Throws:
        AttivioException