public class AirtableRecordSetFlowFileWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
private FlowFile |
flowFile |
private com.fasterxml.jackson.core.JsonGenerator |
jsonGenerator |
private int |
recordCount |
| Modifier | Constructor and Description |
|---|---|
private |
AirtableRecordSetFlowFileWriter(FlowFile flowFile,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator) |
| Modifier and Type | Method and Description |
|---|---|
FlowFile |
closeRecordSet(ProcessSession session) |
int |
getRecordCount() |
static AirtableRecordSetFlowFileWriter |
startRecordSet(ProcessSession session) |
void |
writeRecord(com.fasterxml.jackson.core.JsonParser jsonParser) |
private final FlowFile flowFile
private final com.fasterxml.jackson.core.JsonGenerator jsonGenerator
private int recordCount
private AirtableRecordSetFlowFileWriter(FlowFile flowFile, com.fasterxml.jackson.core.JsonGenerator jsonGenerator)
public static AirtableRecordSetFlowFileWriter startRecordSet(ProcessSession session) throws IOException
IOExceptionpublic void writeRecord(com.fasterxml.jackson.core.JsonParser jsonParser)
throws IOException
IOExceptionpublic FlowFile closeRecordSet(ProcessSession session) throws IOException
IOExceptionpublic int getRecordCount()
Copyright © 2023 Apache NiFi Project. All rights reserved.