Interface MultiOutputDocumentTransformer

    • Method Detail

      • process

        void process​(IngestDocument doc,
                     DocumentOutputClient out)
              throws AttivioException
        Generates documents and messages from a single input document. The (possibly transformed) input document will be in the results only if explicitly fed via the out client. Otherwise it will be dropped.

        Note, an exception will be thrown if the processing result contains new documents or messages. Such documents and messages should be added via the out client.

        Parameters:
        doc - the input document.
        out - the IngestClient used to output the results of the transformation
        Throws:
        AttivioException