Class KeyValueReader.KeyValueWriterCallback

java.lang.Object
org.apache.nifi.processors.hadoop.KeyValueReader.KeyValueWriterCallback
All Implemented Interfaces:
org.apache.nifi.processor.io.OutputStreamCallback
Enclosing class:
KeyValueReader

static class KeyValueReader.KeyValueWriterCallback extends Object implements org.apache.nifi.processor.io.OutputStreamCallback
Serializes the key and value and writes to the flow file's output stream.
  • Field Details

    • key

      org.apache.hadoop.io.Text key
    • reader

      private final org.apache.hadoop.io.SequenceFile.Reader reader
  • Constructor Details

    • KeyValueWriterCallback

      public KeyValueWriterCallback(org.apache.hadoop.io.SequenceFile.Reader reader)
  • Method Details

    • process

      public void process(OutputStream out) throws IOException
      Specified by:
      process in interface org.apache.nifi.processor.io.OutputStreamCallback
      Throws:
      IOException