com.clickhouse.client.grpc.impl.QueryInfoOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: clickhouse_grpc.proto
package com.clickhouse.client.grpc.impl;
public interface QueryInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:clickhouse.grpc.QueryInfo)
com.google.protobuf.MessageOrBuilder {
/**
* string query = 1;
* @return The query.
*/
java.lang.String getQuery();
/**
* string query = 1;
* @return The bytes for query.
*/
com.google.protobuf.ByteString
getQueryBytes();
/**
* string query_id = 2;
* @return The queryId.
*/
java.lang.String getQueryId();
/**
* string query_id = 2;
* @return The bytes for queryId.
*/
com.google.protobuf.ByteString
getQueryIdBytes();
/**
* map<string, string> settings = 3;
*/
int getSettingsCount();
/**
* map<string, string> settings = 3;
*/
boolean containsSettings(
java.lang.String key);
/**
* Use {@link #getSettingsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getSettings();
/**
* map<string, string> settings = 3;
*/
java.util.Map
getSettingsMap();
/**
* map<string, string> settings = 3;
*/
java.lang.String getSettingsOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* map<string, string> settings = 3;
*/
java.lang.String getSettingsOrThrow(
java.lang.String key);
/**
*
* Default database.
*
*
* string database = 4;
* @return The database.
*/
java.lang.String getDatabase();
/**
*
* Default database.
*
*
* string database = 4;
* @return The bytes for database.
*/
com.google.protobuf.ByteString
getDatabaseBytes();
/**
*
* Input data, used both as data for INSERT query and as data for the input() function.
*
*
* bytes input_data = 5;
* @return The inputData.
*/
com.google.protobuf.ByteString getInputData();
/**
*
* Delimiter for input_data, inserted between input_data from adjacent QueryInfos.
*
*
* bytes input_data_delimiter = 6;
* @return The inputDataDelimiter.
*/
com.google.protobuf.ByteString getInputDataDelimiter();
/**
*
* Default output format. If not specified, 'TabSeparated' is used.
*
*
* string output_format = 7;
* @return The outputFormat.
*/
java.lang.String getOutputFormat();
/**
*
* Default output format. If not specified, 'TabSeparated' is used.
*
*
* string output_format = 7;
* @return The bytes for outputFormat.
*/
com.google.protobuf.ByteString
getOutputFormatBytes();
/**
* repeated .clickhouse.grpc.ExternalTable external_tables = 8;
*/
java.util.List
getExternalTablesList();
/**
* repeated .clickhouse.grpc.ExternalTable external_tables = 8;
*/
com.clickhouse.client.grpc.impl.ExternalTable getExternalTables(int index);
/**
* repeated .clickhouse.grpc.ExternalTable external_tables = 8;
*/
int getExternalTablesCount();
/**
* repeated .clickhouse.grpc.ExternalTable external_tables = 8;
*/
java.util.List extends com.clickhouse.client.grpc.impl.ExternalTableOrBuilder>
getExternalTablesOrBuilderList();
/**
* repeated .clickhouse.grpc.ExternalTable external_tables = 8;
*/
com.clickhouse.client.grpc.impl.ExternalTableOrBuilder getExternalTablesOrBuilder(
int index);
/**
* string user_name = 9;
* @return The userName.
*/
java.lang.String getUserName();
/**
* string user_name = 9;
* @return The bytes for userName.
*/
com.google.protobuf.ByteString
getUserNameBytes();
/**
* string password = 10;
* @return The password.
*/
java.lang.String getPassword();
/**
* string password = 10;
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
* string quota = 11;
* @return The quota.
*/
java.lang.String getQuota();
/**
* string quota = 11;
* @return The bytes for quota.
*/
com.google.protobuf.ByteString
getQuotaBytes();
/**
*
* Works exactly like sessions in the HTTP protocol.
*
*
* string session_id = 12;
* @return The sessionId.
*/
java.lang.String getSessionId();
/**
*
* Works exactly like sessions in the HTTP protocol.
*
*
* string session_id = 12;
* @return The bytes for sessionId.
*/
com.google.protobuf.ByteString
getSessionIdBytes();
/**
* bool session_check = 13;
* @return The sessionCheck.
*/
boolean getSessionCheck();
/**
* uint32 session_timeout = 14;
* @return The sessionTimeout.
*/
int getSessionTimeout();
/**
*
* Set `cancel` to true to stop executing the query.
*
*
* bool cancel = 15;
* @return The cancel.
*/
boolean getCancel();
/**
*
* If true there will be at least one more QueryInfo in the input stream.
* `next_query_info` is allowed to be set only if a method with streaming input (i.e. ExecuteQueryWithStreamInput() or ExecuteQueryWithStreamIO()) is used.
*
*
* bool next_query_info = 16;
* @return The nextQueryInfo.
*/
boolean getNextQueryInfo();
/**
*
*/ Controls how a ClickHouse server will compress query execution results before sending back to the client.
* / If not set the compression settings from the configuration file will be used.
*
*
* .clickhouse.grpc.Compression result_compression = 17;
* @return Whether the resultCompression field is set.
*/
boolean hasResultCompression();
/**
*
*/ Controls how a ClickHouse server will compress query execution results before sending back to the client.
* / If not set the compression settings from the configuration file will be used.
*
*
* .clickhouse.grpc.Compression result_compression = 17;
* @return The resultCompression.
*/
com.clickhouse.client.grpc.impl.Compression getResultCompression();
/**
*
*/ Controls how a ClickHouse server will compress query execution results before sending back to the client.
* / If not set the compression settings from the configuration file will be used.
*
*
* .clickhouse.grpc.Compression result_compression = 17;
*/
com.clickhouse.client.grpc.impl.CompressionOrBuilder getResultCompressionOrBuilder();
}