public class RemoveDuplicateCompleteTxnComponentsCommand extends Object implements ParameterizedCommand
| Modifier and Type | Field and Description |
|---|---|
static RemoveDuplicateCompleteTxnComponentsCommand |
INSTANCE |
AT_LEAST_ONE_ROW, EXACTLY_ONE_ROW| 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 static RemoveDuplicateCompleteTxnComponentsCommand INSTANCE
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.