clear_statistics
- clear_statistics(
table_name?: string,
column_name?: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<ClearStatisticsResponse>Parameters
Optionaltable_name: stringName of a table, in [schema_name.]table_name format, using standard name resolution rules. Must be an existing table. A value of ’*’ clears statistics on every user table the caller may read (excluding system schemas, views, and temporary tables); when used,
column_namemust be empty.Optionalcolumn_name: stringName of the column in
table_namefor which to clear statistics. The column must be from an existing table. An empty string clears statistics for all columns in the table. Must be empty whentable_nameis ’*’.Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<ClearStatisticsResponse>
Promise<Types.ClearStatisticsResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5093
clear_statistics_request
- clear_statistics_request(
request: ClearStatisticsRequest,
callback?: GPUdbCallback,
): Promise<ClearStatisticsResponse>Clears statistics (cardinality, mean value, etc.) for a column in a specified table.
Parameters
- request: ClearStatisticsRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<ClearStatisticsResponse>
Promise<Types.ClearStatisticsResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:5060
- request: ClearStatisticsRequest
Clears statistics (cardinality, mean value, etc.) for a column in a specified table.