public interface ParameterizedQuery
NamedParameterJdbcTemplate style parameterized query string | 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. |
String getParameterizedQueryString(DatabaseProduct databaseProduct) throws MetaException
databaseProduct - A DatabaseProduct instance representing the type of the underlying HMS dabatabe.MetaException - Thrown if the query string cannot be assembled.org.springframework.jdbc.core.namedparam.SqlParameterSource getQueryParameters()
SqlParameterSource 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.SqlParameterSource containing the parameters for the query.Copyright © 2024 The Apache Software Foundation. All rights reserved.