Uses of Class
com.clickhouse.client.api.query.QuerySettings
Packages that use QuerySettings
Package
Description
-
Uses of QuerySettings in com.clickhouse.client.api
Methods in com.clickhouse.client.api with parameters of type QuerySettingsModifier and TypeMethodDescriptionClient.query(String sqlQuery, QuerySettings settings) Sends SQL query to server.Sends SQL query to server with parameters.Client.queryAll(String sqlQuery, QuerySettings settings) Queries data in descriptive format and reads result to a collection.Client.queryRecords(String sqlQuery, QuerySettings settings) Queries data in one of descriptive format and creates a reader out of the response stream.Client.queryRecords(String sqlQuery, Map<String, Object> params, QuerySettings settings) Queries data in one of descriptive format and creates a reader out of the response stream. -
Uses of QuerySettings in com.clickhouse.client.api.command
Subclasses of QuerySettings in com.clickhouse.client.api.command -
Uses of QuerySettings in com.clickhouse.client.api.data_formats
Constructors in com.clickhouse.client.api.data_formats with parameters of type QuerySettingsModifierConstructorDescriptionNativeFormatReader(InputStream inputStream, QuerySettings settings, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator) RowBinaryFormatReader(InputStream inputStream, QuerySettings querySettings, TableSchema schema, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator) RowBinaryWithNamesAndTypesFormatReader(InputStream inputStream, QuerySettings querySettings, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator) RowBinaryWithNamesFormatReader(InputStream inputStream, QuerySettings querySettings, TableSchema schema, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator) -
Uses of QuerySettings in com.clickhouse.client.api.data_formats.internal
Constructors in com.clickhouse.client.api.data_formats.internal with parameters of type QuerySettingsModifierConstructorDescriptionprotectedAbstractBinaryFormatReader(InputStream inputStream, QuerySettings querySettings, TableSchema schema, BinaryStreamReader.ByteBufferAllocator byteBufferAllocator) -
Uses of QuerySettings in com.clickhouse.client.api.query
Methods in com.clickhouse.client.api.query that return QuerySettingsModifier and TypeMethodDescriptionQueryResponse.getSettings()QuerySettings.httpHeader(String key, String value) Defines list of headers that should be sent with current request.QuerySettings.httpHeader(String key, Collection<String> values) but for multiple values.QuerySettings.httpHeaders(Map<String, String> headers) but for multiple headers.QuerySettings.logComment(String logComment) Sets the comment that will be added to the query log record associated with the query.static QuerySettingsQuerySettings.merge(QuerySettings source, QuerySettings override) QuerySettings.serverSetting(String name, String value) Defines list of server settings that should be sent with each request.QuerySettings.serverSetting(String name, Collection<String> values) but for multiple values.QuerySettings.setDatabase(String database) Sets database to be used for a request.QuerySettings.setDBRoles(Collection<String> dbRoles) Sets DB roles for an operation.QuerySettings.setFormat(ClickHouseFormat format) Sets output format for a server response.QuerySettings.setMaxExecutionTime(Integer maxExecutionTime) Maximum query execution time in seconds on server.Sets a configuration option.QuerySettings.setQueryId(String queryId) Sets the query id.QuerySettings.setReadBufferSize(Integer size) Read buffer is used for reading data from a server.QuerySettings.setUseServerTimeZone(Boolean useServerTimeZone) QuerySettings.setUseTimeZone(String timeZone) QuerySettings.waitEndOfQuery(Boolean waitEndOfQuery) Requests the server to wait for the and of the query before sending response.Methods in com.clickhouse.client.api.query with parameters of type QuerySettingsModifier and TypeMethodDescriptionstatic QuerySettingsQuerySettings.merge(QuerySettings source, QuerySettings override) Constructors in com.clickhouse.client.api.query with parameters of type QuerySettingsModifierConstructorDescriptionQueryResponse(org.apache.hc.core5.http.ClassicHttpResponse response, ClickHouseFormat format, QuerySettings settings, OperationMetrics operationMetrics)