Class LookupRecord.LookupContext
java.lang.Object
org.apache.nifi.processors.standard.LookupRecord.LookupContext
- Enclosing class:
LookupRecord
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.nifi.flowfile.FlowFileprivate final org.apache.nifi.logging.ComponentLogprivate final Map<String, RecordPath> private final RecordPathprivate final org.apache.nifi.processor.ProcessSessionprivate final RecordSetWriterFactoryprivate final Map<org.apache.nifi.processor.Relationship, Tuple<org.apache.nifi.flowfile.FlowFile, RecordSetWriter>> -
Constructor Summary
ConstructorsConstructorDescriptionLookupContext(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 Summary
Modifier and TypeMethodDescriptiongetExistingRecordWriterForRelationship(org.apache.nifi.processor.Relationship relationship) org.apache.nifi.flowfile.FlowFilegetFlowFileForRelationship(org.apache.nifi.processor.Relationship relationship) org.apache.nifi.flowfile.FlowFilegetRecordWriterForRelationship(org.apache.nifi.processor.Relationship relationship, RecordSchema schema) private Set<org.apache.nifi.processor.Relationship>
-
Field Details
-
recordPathsByCoordinateKey
-
resultRecordPath
-
session
private final org.apache.nifi.processor.ProcessSession session -
flowFile
private final org.apache.nifi.flowfile.FlowFile flowFile -
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, writersByRelationshipRecordSetWriter>>
-
-
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
-
getResultRecordPath
-
getOriginalFlowFile
public org.apache.nifi.flowfile.FlowFile getOriginalFlowFile() -
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:
IOExceptionSchemaNotFoundException
-