public class InsertCompletedTxnComponentsCommand extends Object implements ParameterizedBatchCommand<WriteEventInfo>
| Constructor and Description |
|---|
InsertCompletedTxnComponentsCommand(long txnId,
char isUpdateDelete,
List<WriteEventInfo> infos) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameterizedQueryString(DatabaseProduct databaseProduct)
The parameterized query string.
|
org.springframework.jdbc.core.ParameterizedPreparedStatementSetter<WriteEventInfo> |
getPreparedStatementSetter()
Implementations must return a
ParameterizedPreparedStatementSetter instance which will be
responsible for setting the parameter values for all the items in the batch |
List<WriteEventInfo> |
getQueryParameters()
A
List instance containing the required parameters for the query string. |
Function<Integer,Boolean> |
resultPolicy() |
public InsertCompletedTxnComponentsCommand(long txnId,
char isUpdateDelete,
List<WriteEventInfo> infos)
public String getParameterizedQueryString(DatabaseProduct databaseProduct)
ParameterizedBatchCommandgetParameterizedQueryString in interface ParameterizedBatchCommand<WriteEventInfo>databaseProduct - A DatabaseProduct instance representing the type of the underlying HMS dabatabe.public List<WriteEventInfo> getQueryParameters()
ParameterizedBatchCommandList instance containing the required parameters for the query string.getQueryParameters in interface ParameterizedBatchCommand<WriteEventInfo>public org.springframework.jdbc.core.ParameterizedPreparedStatementSetter<WriteEventInfo> getPreparedStatementSetter()
ParameterizedBatchCommandParameterizedPreparedStatementSetter instance which will be
responsible for setting the parameter values for all the items in the batchgetPreparedStatementSetter in interface ParameterizedBatchCommand<WriteEventInfo>public Function<Integer,Boolean> resultPolicy()
resultPolicy in interface ParameterizedBatchCommand<WriteEventInfo>Copyright © 2024 The Apache Software Foundation. All rights reserved.