private static class PutSQL.StatementFlowFileEnclosure extends Object implements PartialFunctions.FlowFileGroup
Modifier and Type | Field and Description |
---|---|
private List<FlowFile> |
flowFiles |
private String |
sql |
private PreparedStatement |
statement |
Constructor and Description |
---|
StatementFlowFileEnclosure(String sql) |
Modifier and Type | Method and Description |
---|---|
void |
addFlowFile(FlowFile flowFile) |
boolean |
equals(Object obj) |
PreparedStatement |
getCachedStatement(Connection conn) |
List<FlowFile> |
getFlowFiles() |
PreparedStatement |
getNewStatement(Connection conn,
boolean obtainKeys) |
String |
getSql() |
int |
hashCode() |
private final String sql
private PreparedStatement statement
public StatementFlowFileEnclosure(String sql)
public String getSql()
public PreparedStatement getNewStatement(Connection conn, boolean obtainKeys) throws SQLException
SQLException
public PreparedStatement getCachedStatement(Connection conn) throws SQLException
SQLException
public List<FlowFile> getFlowFiles()
getFlowFiles
in interface PartialFunctions.FlowFileGroup
public void addFlowFile(FlowFile flowFile)
Copyright © 2023 Apache NiFi Project. All rights reserved.