private class LookupRecord.InPlaceReplacementStrategy extends Object implements LookupRecord.ReplacementStrategy
| Modifier and Type | Field and Description |
|---|---|
private int |
lookupCount |
| Modifier | Constructor and Description |
|---|---|
private |
InPlaceReplacementStrategy() |
| Modifier and Type | Method and Description |
|---|---|
RecordSchema |
determineResultSchema(RecordReaderFactory readerFactory,
RecordSetWriterFactory writerFactory,
ProcessContext context,
ProcessSession session,
FlowFile flowFile,
LookupRecord.LookupContext lookupContext) |
int |
getLookupCount() |
Set<Relationship> |
lookup(Record record,
ProcessContext context,
LookupRecord.LookupContext lookupContext) |
public Set<Relationship> lookup(Record record, ProcessContext context, LookupRecord.LookupContext lookupContext)
lookup in interface LookupRecord.ReplacementStrategypublic RecordSchema determineResultSchema(RecordReaderFactory readerFactory, RecordSetWriterFactory writerFactory, ProcessContext context, ProcessSession session, FlowFile flowFile, LookupRecord.LookupContext lookupContext) throws IOException, SchemaNotFoundException, MalformedRecordException
determineResultSchema in interface LookupRecord.ReplacementStrategyIOExceptionSchemaNotFoundExceptionMalformedRecordExceptionpublic int getLookupCount()
getLookupCount in interface LookupRecord.ReplacementStrategyCopyright © 2023 Apache NiFi Project. All rights reserved.