Class LookupRecord.LookupContext

java.lang.Object
org.apache.nifi.processors.standard.LookupRecord.LookupContext
Enclosing class:
LookupRecord

protected static class LookupRecord.LookupContext extends Object
  • Field Details

    • recordPathsByCoordinateKey

      private final Map<String,RecordPath> recordPathsByCoordinateKey
    • resultRecordPath

      private final RecordPath resultRecordPath
    • session

      private final org.apache.nifi.processor.ProcessSession session
    • flowFile

      private final org.apache.nifi.flowfile.FlowFile flowFile
    • writerFactory

      private final RecordSetWriterFactory writerFactory
    • logger

      private final org.apache.nifi.logging.ComponentLog logger
    • writersByRelationship

      private final Map<org.apache.nifi.processor.Relationship,Tuple<org.apache.nifi.flowfile.FlowFile,RecordSetWriter>> writersByRelationship
  • Constructor Details

    • LookupContext

      public LookupContext(Map<String,RecordPath> recordPathsByCoordinateKey, RecordPath resultRecordPath, org.apache.nifi.processor.ProcessSession session, org.apache.nifi.flowfile.FlowFile flowFile, RecordSetWriterFactory writerFactory, org.apache.nifi.logging.ComponentLog logger)
  • Method Details

    • getRecordPathsByCoordinateKey

      public Map<String,RecordPath> getRecordPathsByCoordinateKey()
    • getResultRecordPath

      public RecordPath getResultRecordPath()
    • getOriginalFlowFile

      public org.apache.nifi.flowfile.FlowFile getOriginalFlowFile()
    • getRelationshipsUsed

      private Set<org.apache.nifi.processor.Relationship> getRelationshipsUsed()
    • getFlowFileForRelationship

      public org.apache.nifi.flowfile.FlowFile getFlowFileForRelationship(org.apache.nifi.processor.Relationship relationship)
    • getExistingRecordWriterForRelationship

      public RecordSetWriter getExistingRecordWriterForRelationship(org.apache.nifi.processor.Relationship relationship)
    • getRecordWriterForRelationship

      public RecordSetWriter getRecordWriterForRelationship(org.apache.nifi.processor.Relationship relationship, RecordSchema schema) throws IOException, SchemaNotFoundException
      Throws:
      IOException
      SchemaNotFoundException