public class InsertCompactionRequestCommand extends Object implements ParameterizedCommand
AT_LEAST_ONE_ROW, EXACTLY_ONE_ROW| Constructor and Description |
|---|
InsertCompactionRequestCommand(long id,
CompactionState compactionState,
CompactionRequest rqst) |
| 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() |
InsertCompactionRequestCommand |
withTxnDetails(long highestWriteId,
long txnId) |
public InsertCompactionRequestCommand(long id,
CompactionState compactionState,
CompactionRequest rqst)
public InsertCompactionRequestCommand withTxnDetails(long highestWriteId, long txnId)
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.