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