Class PutSQL.StatementFlowFileEnclosure
java.lang.Object
org.apache.nifi.processors.standard.PutSQL.StatementFlowFileEnclosure
- All Implemented Interfaces:
PartialFunctions.FlowFileGroup
- Direct Known Subclasses:
PutSQL.FragmentedEnclosure
- Enclosing class:
PutSQL
private static class PutSQL.StatementFlowFileEnclosure
extends Object
implements PartialFunctions.FlowFileGroup
A simple, immutable data structure to hold a Prepared Statement and a List of FlowFiles
for which that statement should be evaluated.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFlowFile
(org.apache.nifi.flowfile.FlowFile flowFile) boolean
getCachedStatement
(Connection conn) List
<org.apache.nifi.flowfile.FlowFile> getNewStatement
(Connection conn, boolean obtainKeys) getSql()
int
hashCode()
-
Field Details
-
sql
-
statement
-
flowFiles
-
-
Constructor Details
-
StatementFlowFileEnclosure
-
-
Method Details
-
getSql
-
getNewStatement
- Throws:
SQLException
-
getCachedStatement
- Throws:
SQLException
-
getFlowFiles
- Specified by:
getFlowFiles
in interfacePartialFunctions.FlowFileGroup
-
addFlowFile
public void addFlowFile(org.apache.nifi.flowfile.FlowFile flowFile) -
hashCode
public int hashCode() -
equals
-