Class IdBasedCopyStep

  • All Implemented Interfaces:
    AutoCloseable, Function<Stream<Event>,​Stream<Event>>, IPipelineStep

    public class IdBasedCopyStep
    extends BasePipelineStep
    This step copies into a destination file (first input file) the text of a reference file (second input file) for text units that have the same id. The ids are taken from the name (TextUnit.getName()) of each text unit.