public class DeleteReplTxnMapEntryCommand extends Object implements ParameterizedCommand
AT_LEAST_ONE_ROW, EXACTLY_ONE_ROW| Constructor and Description |
|---|
DeleteReplTxnMapEntryCommand(long sourceTxnId,
String replicationPolicy) |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameterizedQueryString(DatabaseProduct databaseProduct)
The parameterized query string.
|
org.springframework.jdbc.core.namedparam.SqlParameterSource |
getQueryParameters()
An
SqlParameterSource instance containing the required parameters for the query string. |
Function<Integer,Boolean> |
resultPolicy() |
public DeleteReplTxnMapEntryCommand(long sourceTxnId,
String replicationPolicy)
public Function<Integer,Boolean> resultPolicy()
resultPolicy in interface ParameterizedCommandpublic String getParameterizedQueryString(DatabaseProduct databaseProduct) throws MetaException
ParameterizedQuerygetParameterizedQueryString in interface ParameterizedQuerydatabaseProduct - A DatabaseProduct instance representing the type of the underlying HMS dabatabe.MetaException - Thrown if the query string cannot be assembled.public org.springframework.jdbc.core.namedparam.SqlParameterSource getQueryParameters()
ParameterizedQuerySqlParameterSource instance containing the required parameters for the query string. If the query is not
parameterized, this method can either return null or an empty SqlParameterSource.getQueryParameters in interface ParameterizedQuerySqlParameterSource containing the parameters for the query.Copyright © 2024 The Apache Software Foundation. All rights reserved.