public class FindColumnsWithStatsHandler extends Object implements QueryHandler<List<String>>
| Constructor and Description |
|---|
FindColumnsWithStatsHandler(CompactionInfo ci) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
extractData(ResultSet rs) |
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. |
public FindColumnsWithStatsHandler(CompactionInfo ci)
public String getParameterizedQueryString(DatabaseProduct databaseProduct)
ParameterizedQuerygetParameterizedQueryString in interface ParameterizedQuerydatabaseProduct - A DatabaseProduct instance representing the type of the underlying HMS dabatabe.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.public List<String> extractData(ResultSet rs) throws SQLException, org.springframework.dao.DataAccessException
extractData in interface org.springframework.jdbc.core.ResultSetExtractor<List<String>>SQLExceptionorg.springframework.dao.DataAccessExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.