Skip to main content
  • showStatistics

    public ShowStatisticsResponse showStatistics(ShowStatisticsRequest request) throws GPUdbException
    Retrieves the collected column statistics for the specified table(s).
    Parameters:
    request - Request object containing the parameters for the operation.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.
  • showStatistics

    public ShowStatisticsResponse showStatistics(List<String> tableNames, Map<String,String> options) throws GPUdbException
    Retrieves the collected column statistics for the specified table(s).
    Parameters:
    tableNames - Names of tables whose metadata will be fetched, each in [schema_name.]table_name format, using standard name resolution rules. All provided tables must exist, or an error is returned. A single entry of ’*’ expands to every user table the caller may read (excluding system schemas, views, and temporary tables); when used it must be the only entry.
    options - Optional parameters.
    • NO_ERROR_IF_NOT_EXISTS: If TRUE and if the table names specified in tableNames does not exist, no error is returned. If FALSE and if the table names specified in tableNames does not exist, then an error is returned. Supported values:The default value is FALSE.
    The default value is an empty Map.
    Returns:
    Response object containing the results of the operation.
    Throws:
    GPUdbException - if an error occurs during the operation.