public Object getFieldValue(_Fields field) { switch (field) { case TABLE_STATS: return getTableStats(); case IS_STATS_COMPLIANT: return isIsStatsCompliant(); } throw new IllegalStateException(); }
@Override public List<ColumnStatisticsObj> getTableColumnStatistics(String databaseName, String tableName, List<String> columnNames) throws TException { TableStatsRequest tableStatsRequest = new TableStatsRequest(databaseName, tableName, columnNames); return client.get_table_statistics_req(tableStatsRequest).getTableStats(); }
@Override public List<ColumnStatisticsObj> getTableColumnStatistics(String catName, String dbName, String tableName, List<String> colNames) throws TException { TableStatsRequest rqst = new TableStatsRequest(dbName, tableName, colNames); rqst.setCatName(catName); return client.get_table_statistics_req(rqst).getTableStats(); }
@Override public List<ColumnStatisticsObj> getTableColumnStatistics(String catName, String dbName, String tableName, List<String> colNames, String validWriteIdList) throws TException { TableStatsRequest rqst = new TableStatsRequest(dbName, tableName, colNames); rqst.setCatName(catName); rqst.setValidWriteIdList(validWriteIdList); return client.get_table_statistics_req(rqst).getTableStats(); }
/** {@inheritDoc} */ @Override public List<ColumnStatisticsObj> getTableColumnStatistics(String dbName, String tableName, List<String> colNames) throws NoSuchObjectException, MetaException, TException, InvalidInputException, InvalidObjectException { return client.get_table_statistics_req( new TableStatsRequest(dbName, tableName, colNames)).getTableStats(); }
@Override public List<ColumnStatisticsObj> getTableColumnStatistics( String dbName, String tableName, List<String> colNames, String validWriteIdList) throws NoSuchObjectException, MetaException, TException { TableStatsRequest tsr = new TableStatsRequest(dbName, tableName, colNames); tsr.setValidWriteIdList(validWriteIdList); return client.get_table_statistics_req(tsr).getTableStats(); }
public Object getFieldValue(_Fields field) { switch (field) { case TABLE_STATS: return getTableStats(); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case TABLE_STATS: return getTableStats(); } throw new IllegalStateException(); }
public Object getFieldValue(_Fields field) { switch (field) { case TABLE_STATS: return getTableStats(); } throw new IllegalStateException(); }
/** {@inheritDoc} */ @Override public List<ColumnStatisticsObj> getTableColumnStatistics(String dbName, String tableName, List<String> colNames) throws NoSuchObjectException, MetaException, TException, InvalidInputException, InvalidObjectException { return client.get_table_statistics_req( new TableStatsRequest(dbName, tableName, colNames)).getTableStats(); }
/** {@inheritDoc} */ @Override public List<ColumnStatisticsObj> getTableColumnStatistics(String dbName, String tableName, List<String> colNames) throws NoSuchObjectException, MetaException, TException, InvalidInputException, InvalidObjectException { return client.get_table_statistics_req( new TableStatsRequest(dbName, tableName, colNames)).getTableStats(); }
@Override public List<ColumnStatisticsObj> getTableColumnStatistics(String databaseName, String tableName, List<String> columnNames) throws TException { TableStatsRequest tableStatsRequest = new TableStatsRequest(databaseName, tableName, columnNames); return client.get_table_statistics_req(tableStatsRequest).getTableStats(); }