/* tslint:disable */ /* eslint-disable */ /** * Admin API * The Admin API is used to manage the ApeCloud platform. * * The version of the OpenAPI document: 1.0.0 * Contact: support@apecloud.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface ClickhouseSlowQuery */ export interface ClickhouseSlowQuery { /** * ClickHouse query_id. * @type {string} * @memberof ClickhouseSlowQuery */ 'queryId'?: string; /** * Initial query_id for a distributed query. * @type {string} * @memberof ClickhouseSlowQuery */ 'initialQueryId'?: string; /** * query_log type (QueryFinish or ExceptionWhileProcessing). * @type {string} * @memberof ClickhouseSlowQuery */ 'type'?: string; /** * User that ran the query. * @type {string} * @memberof ClickhouseSlowQuery */ 'user'?: string; /** * Current database at execution time. * @type {string} * @memberof ClickhouseSlowQuery */ 'database'?: string; /** * Query kind reported by ClickHouse. * @type {string} * @memberof ClickhouseSlowQuery */ 'queryKind'?: string; /** * Query text with string and numeric literals and comments masked as ?. * @type {string} * @memberof ClickhouseSlowQuery */ 'query'?: string; /** * normalized_query_hash as a string to avoid precision loss in clients. * @type {string} * @memberof ClickhouseSlowQuery */ 'normalizedQueryHash'?: string; /** * query_duration_ms. * @type {number} * @memberof ClickhouseSlowQuery */ 'durationMs'?: number; /** * Rows read by the query. * @type {number} * @memberof ClickhouseSlowQuery */ 'readRows'?: number; /** * Bytes read by the query. * @type {number} * @memberof ClickhouseSlowQuery */ 'readBytes'?: number; /** * Memory usage in bytes. * @type {number} * @memberof ClickhouseSlowQuery */ 'memoryUsageBytes'?: number; /** * Rows returned by the query. * @type {number} * @memberof ClickhouseSlowQuery */ 'resultRows'?: number; /** * Bytes returned by the query. * @type {number} * @memberof ClickhouseSlowQuery */ 'resultBytes'?: number; /** * ClickHouse exception code, zero for successful queries. * @type {number} * @memberof ClickhouseSlowQuery */ 'exceptionCode'?: number; /** * Exception text for failed queries. * @type {string} * @memberof ClickhouseSlowQuery */ 'exception'?: string; /** * query_log event time in RFC3339 UTC. * @type {string} * @memberof ClickhouseSlowQuery */ 'eventTime'?: string; /** * ClickHouse server host that ran the query. * @type {string} * @memberof ClickhouseSlowQuery */ 'hostName'?: string; /** * Client name reported by ClickHouse. * @type {string} * @memberof ClickhouseSlowQuery */ 'clientName'?: string; /** * Whether this is the initial query rather than a remote sub-query. * @type {boolean} * @memberof ClickhouseSlowQuery */ 'isInitialQuery'?: boolean; }