Package com.clickhouse.client.grpc.impl
Class QueryInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
- com.clickhouse.client.grpc.impl.QueryInfo.Builder
-
- All Implemented Interfaces:
QueryInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueryInfo
public static final class QueryInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder> implements QueryInfoOrBuilder
Information about a query which a client sends to a ClickHouse server. The first QueryInfo can set any of the following fields. Extra QueryInfos only add extra data. In extra QueryInfos only `input_data`, `external_tables`, `next_query_info` and `cancel` fields can be set.
Protobuf typeclickhouse.grpc.QueryInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description QueryInfo.BuilderaddAllExternalTables(Iterable<? extends ExternalTable> values)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderaddExternalTables(int index, ExternalTable value)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderaddExternalTables(int index, ExternalTable.Builder builderForValue)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderaddExternalTables(ExternalTable value)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderaddExternalTables(ExternalTable.Builder builderForValue)repeated .clickhouse.grpc.ExternalTable external_tables = 8;ExternalTable.BuilderaddExternalTablesBuilder()repeated .clickhouse.grpc.ExternalTable external_tables = 8;ExternalTable.BuilderaddExternalTablesBuilder(int index)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QueryInfobuild()QueryInfobuildPartial()QueryInfo.Builderclear()QueryInfo.BuilderclearCancel()Set `cancel` to true to stop executing the query.QueryInfo.BuilderclearDatabase()Default database.QueryInfo.BuilderclearExternalTables()repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)QueryInfo.BuilderclearInputCompressionType()Compression type for `input_data`.QueryInfo.BuilderclearInputData()Input data, used both as data for INSERT query and as data for the input() function.QueryInfo.BuilderclearInputDataDelimiter()Delimiter for input_data, inserted between input_data from adjacent QueryInfos.QueryInfo.BuilderclearNextQueryInfo()If true there will be at least one more QueryInfo in the input stream.QueryInfo.BuilderclearObsoleteCompressionType()string obsolete_compression_type = 18;QueryInfo.BuilderclearObsoleteResultCompression()/ Obsolete fields, should not be used in new code.QueryInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)QueryInfo.BuilderclearOutputCompressionLevel()Compression level.QueryInfo.BuilderclearOutputCompressionType()Compression type for `output_data`, `totals` and `extremes`.QueryInfo.BuilderclearOutputFormat()Default output format.QueryInfo.BuilderclearPassword()string password = 10;QueryInfo.BuilderclearQuery()string query = 1;QueryInfo.BuilderclearQueryId()string query_id = 2;QueryInfo.BuilderclearQuota()string quota = 11;QueryInfo.BuilderclearSendOutputColumns()Set it if you want the names and the types of output columns to be sent to the client.QueryInfo.BuilderclearSessionCheck()bool session_check = 13;QueryInfo.BuilderclearSessionId()Works exactly like sessions in the HTTP protocol.QueryInfo.BuilderclearSessionTimeout()uint32 session_timeout = 14;QueryInfo.BuilderclearSettings()QueryInfo.BuilderclearTransportCompressionLevel()int32 transport_compression_level = 23;QueryInfo.BuilderclearTransportCompressionType()Transport compression is an alternative way to make the server to compress its response.QueryInfo.BuilderclearUserName()string user_name = 9;QueryInfo.Builderclone()booleancontainsSettings(String key)map<string, string> settings = 3;booleangetCancel()Set `cancel` to true to stop executing the query.StringgetDatabase()Default database.com.google.protobuf.ByteStringgetDatabaseBytes()Default database.QueryInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ExternalTablegetExternalTables(int index)repeated .clickhouse.grpc.ExternalTable external_tables = 8;ExternalTable.BuildergetExternalTablesBuilder(int index)repeated .clickhouse.grpc.ExternalTable external_tables = 8;List<ExternalTable.Builder>getExternalTablesBuilderList()repeated .clickhouse.grpc.ExternalTable external_tables = 8;intgetExternalTablesCount()repeated .clickhouse.grpc.ExternalTable external_tables = 8;List<ExternalTable>getExternalTablesList()repeated .clickhouse.grpc.ExternalTable external_tables = 8;ExternalTableOrBuildergetExternalTablesOrBuilder(int index)repeated .clickhouse.grpc.ExternalTable external_tables = 8;List<? extends ExternalTableOrBuilder>getExternalTablesOrBuilderList()repeated .clickhouse.grpc.ExternalTable external_tables = 8;StringgetInputCompressionType()Compression type for `input_data`.com.google.protobuf.ByteStringgetInputCompressionTypeBytes()Compression type for `input_data`.com.google.protobuf.ByteStringgetInputData()Input data, used both as data for INSERT query and as data for the input() function.com.google.protobuf.ByteStringgetInputDataDelimiter()Delimiter for input_data, inserted between input_data from adjacent QueryInfos.Map<String,String>getMutableSettings()Deprecated.booleangetNextQueryInfo()If true there will be at least one more QueryInfo in the input stream.StringgetObsoleteCompressionType()string obsolete_compression_type = 18;com.google.protobuf.ByteStringgetObsoleteCompressionTypeBytes()string obsolete_compression_type = 18;ObsoleteTransportCompressiongetObsoleteResultCompression()/ Obsolete fields, should not be used in new code.ObsoleteTransportCompression.BuildergetObsoleteResultCompressionBuilder()/ Obsolete fields, should not be used in new code.ObsoleteTransportCompressionOrBuildergetObsoleteResultCompressionOrBuilder()/ Obsolete fields, should not be used in new code.intgetOutputCompressionLevel()Compression level.StringgetOutputCompressionType()Compression type for `output_data`, `totals` and `extremes`.com.google.protobuf.ByteStringgetOutputCompressionTypeBytes()Compression type for `output_data`, `totals` and `extremes`.StringgetOutputFormat()Default output format.com.google.protobuf.ByteStringgetOutputFormatBytes()Default output format.StringgetPassword()string password = 10;com.google.protobuf.ByteStringgetPasswordBytes()string password = 10;StringgetQuery()string query = 1;com.google.protobuf.ByteStringgetQueryBytes()string query = 1;StringgetQueryId()string query_id = 2;com.google.protobuf.ByteStringgetQueryIdBytes()string query_id = 2;StringgetQuota()string quota = 11;com.google.protobuf.ByteStringgetQuotaBytes()string quota = 11;booleangetSendOutputColumns()Set it if you want the names and the types of output columns to be sent to the client.booleangetSessionCheck()bool session_check = 13;StringgetSessionId()Works exactly like sessions in the HTTP protocol.com.google.protobuf.ByteStringgetSessionIdBytes()Works exactly like sessions in the HTTP protocol.intgetSessionTimeout()uint32 session_timeout = 14;Map<String,String>getSettings()Deprecated.intgetSettingsCount()map<string, string> settings = 3;Map<String,String>getSettingsMap()map<string, string> settings = 3;StringgetSettingsOrDefault(String key, String defaultValue)map<string, string> settings = 3;StringgetSettingsOrThrow(String key)map<string, string> settings = 3;intgetTransportCompressionLevel()int32 transport_compression_level = 23;StringgetTransportCompressionType()Transport compression is an alternative way to make the server to compress its response.com.google.protobuf.ByteStringgetTransportCompressionTypeBytes()Transport compression is an alternative way to make the server to compress its response.StringgetUserName()string user_name = 9;com.google.protobuf.ByteStringgetUserNameBytes()string user_name = 9;booleanhasObsoleteResultCompression()/ Obsolete fields, should not be used in new code.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()QueryInfo.BuildermergeFrom(QueryInfo other)QueryInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)QueryInfo.BuildermergeFrom(com.google.protobuf.Message other)QueryInfo.BuildermergeObsoleteResultCompression(ObsoleteTransportCompression value)/ Obsolete fields, should not be used in new code.QueryInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)QueryInfo.BuilderputAllSettings(Map<String,String> values)map<string, string> settings = 3;QueryInfo.BuilderputSettings(String key, String value)map<string, string> settings = 3;QueryInfo.BuilderremoveExternalTables(int index)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuilderremoveSettings(String key)map<string, string> settings = 3;QueryInfo.BuildersetCancel(boolean value)Set `cancel` to true to stop executing the query.QueryInfo.BuildersetDatabase(String value)Default database.QueryInfo.BuildersetDatabaseBytes(com.google.protobuf.ByteString value)Default database.QueryInfo.BuildersetExternalTables(int index, ExternalTable value)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuildersetExternalTables(int index, ExternalTable.Builder builderForValue)repeated .clickhouse.grpc.ExternalTable external_tables = 8;QueryInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QueryInfo.BuildersetInputCompressionType(String value)Compression type for `input_data`.QueryInfo.BuildersetInputCompressionTypeBytes(com.google.protobuf.ByteString value)Compression type for `input_data`.QueryInfo.BuildersetInputData(com.google.protobuf.ByteString value)Input data, used both as data for INSERT query and as data for the input() function.QueryInfo.BuildersetInputDataDelimiter(com.google.protobuf.ByteString value)Delimiter for input_data, inserted between input_data from adjacent QueryInfos.QueryInfo.BuildersetNextQueryInfo(boolean value)If true there will be at least one more QueryInfo in the input stream.QueryInfo.BuildersetObsoleteCompressionType(String value)string obsolete_compression_type = 18;QueryInfo.BuildersetObsoleteCompressionTypeBytes(com.google.protobuf.ByteString value)string obsolete_compression_type = 18;QueryInfo.BuildersetObsoleteResultCompression(ObsoleteTransportCompression value)/ Obsolete fields, should not be used in new code.QueryInfo.BuildersetObsoleteResultCompression(ObsoleteTransportCompression.Builder builderForValue)/ Obsolete fields, should not be used in new code.QueryInfo.BuildersetOutputCompressionLevel(int value)Compression level.QueryInfo.BuildersetOutputCompressionType(String value)Compression type for `output_data`, `totals` and `extremes`.QueryInfo.BuildersetOutputCompressionTypeBytes(com.google.protobuf.ByteString value)Compression type for `output_data`, `totals` and `extremes`.QueryInfo.BuildersetOutputFormat(String value)Default output format.QueryInfo.BuildersetOutputFormatBytes(com.google.protobuf.ByteString value)Default output format.QueryInfo.BuildersetPassword(String value)string password = 10;QueryInfo.BuildersetPasswordBytes(com.google.protobuf.ByteString value)string password = 10;QueryInfo.BuildersetQuery(String value)string query = 1;QueryInfo.BuildersetQueryBytes(com.google.protobuf.ByteString value)string query = 1;QueryInfo.BuildersetQueryId(String value)string query_id = 2;QueryInfo.BuildersetQueryIdBytes(com.google.protobuf.ByteString value)string query_id = 2;QueryInfo.BuildersetQuota(String value)string quota = 11;QueryInfo.BuildersetQuotaBytes(com.google.protobuf.ByteString value)string quota = 11;QueryInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)QueryInfo.BuildersetSendOutputColumns(boolean value)Set it if you want the names and the types of output columns to be sent to the client.QueryInfo.BuildersetSessionCheck(boolean value)bool session_check = 13;QueryInfo.BuildersetSessionId(String value)Works exactly like sessions in the HTTP protocol.QueryInfo.BuildersetSessionIdBytes(com.google.protobuf.ByteString value)Works exactly like sessions in the HTTP protocol.QueryInfo.BuildersetSessionTimeout(int value)uint32 session_timeout = 14;QueryInfo.BuildersetTransportCompressionLevel(int value)int32 transport_compression_level = 23;QueryInfo.BuildersetTransportCompressionType(String value)Transport compression is an alternative way to make the server to compress its response.QueryInfo.BuildersetTransportCompressionTypeBytes(com.google.protobuf.ByteString value)Transport compression is an alternative way to make the server to compress its response.QueryInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)QueryInfo.BuildersetUserName(String value)string user_name = 9;QueryInfo.BuildersetUserNameBytes(com.google.protobuf.ByteString value)string user_name = 9;-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
clear
public QueryInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
getDefaultInstanceForType
public QueryInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QueryInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QueryInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QueryInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
setField
public QueryInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
clearField
public QueryInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
clearOneof
public QueryInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
setRepeatedField
public QueryInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
addRepeatedField
public QueryInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
mergeFrom
public QueryInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryInfo.Builder>
-
mergeFrom
public QueryInfo.Builder mergeFrom(QueryInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
mergeFrom
public QueryInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryInfo.Builder>- Throws:
IOException
-
getQuery
public String getQuery()
string query = 1;- Specified by:
getQueryin interfaceQueryInfoOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
string query = 1;- Specified by:
getQueryBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for query.
-
setQuery
public QueryInfo.Builder setQuery(String value)
string query = 1;- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
public QueryInfo.Builder clearQuery()
string query = 1;- Returns:
- This builder for chaining.
-
setQueryBytes
public QueryInfo.Builder setQueryBytes(com.google.protobuf.ByteString value)
string query = 1;- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
getQueryId
public String getQueryId()
string query_id = 2;- Specified by:
getQueryIdin interfaceQueryInfoOrBuilder- Returns:
- The queryId.
-
getQueryIdBytes
public com.google.protobuf.ByteString getQueryIdBytes()
string query_id = 2;- Specified by:
getQueryIdBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for queryId.
-
setQueryId
public QueryInfo.Builder setQueryId(String value)
string query_id = 2;- Parameters:
value- The queryId to set.- Returns:
- This builder for chaining.
-
clearQueryId
public QueryInfo.Builder clearQueryId()
string query_id = 2;- Returns:
- This builder for chaining.
-
setQueryIdBytes
public QueryInfo.Builder setQueryIdBytes(com.google.protobuf.ByteString value)
string query_id = 2;- Parameters:
value- The bytes for queryId to set.- Returns:
- This builder for chaining.
-
getSettingsCount
public int getSettingsCount()
Description copied from interface:QueryInfoOrBuildermap<string, string> settings = 3;- Specified by:
getSettingsCountin interfaceQueryInfoOrBuilder
-
containsSettings
public boolean containsSettings(String key)
map<string, string> settings = 3;- Specified by:
containsSettingsin interfaceQueryInfoOrBuilder
-
getSettings
@Deprecated public Map<String,String> getSettings()
Deprecated.UsegetSettingsMap()instead.- Specified by:
getSettingsin interfaceQueryInfoOrBuilder
-
getSettingsMap
public Map<String,String> getSettingsMap()
map<string, string> settings = 3;- Specified by:
getSettingsMapin interfaceQueryInfoOrBuilder
-
getSettingsOrDefault
public String getSettingsOrDefault(String key, String defaultValue)
map<string, string> settings = 3;- Specified by:
getSettingsOrDefaultin interfaceQueryInfoOrBuilder
-
getSettingsOrThrow
public String getSettingsOrThrow(String key)
map<string, string> settings = 3;- Specified by:
getSettingsOrThrowin interfaceQueryInfoOrBuilder
-
clearSettings
public QueryInfo.Builder clearSettings()
-
removeSettings
public QueryInfo.Builder removeSettings(String key)
map<string, string> settings = 3;
-
getMutableSettings
@Deprecated public Map<String,String> getMutableSettings()
Deprecated.Use alternate mutation accessors instead.
-
putSettings
public QueryInfo.Builder putSettings(String key, String value)
map<string, string> settings = 3;
-
putAllSettings
public QueryInfo.Builder putAllSettings(Map<String,String> values)
map<string, string> settings = 3;
-
getDatabase
public String getDatabase()
Default database.
string database = 4;- Specified by:
getDatabasein interfaceQueryInfoOrBuilder- Returns:
- The database.
-
getDatabaseBytes
public com.google.protobuf.ByteString getDatabaseBytes()
Default database.
string database = 4;- Specified by:
getDatabaseBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for database.
-
setDatabase
public QueryInfo.Builder setDatabase(String value)
Default database.
string database = 4;- Parameters:
value- The database to set.- Returns:
- This builder for chaining.
-
clearDatabase
public QueryInfo.Builder clearDatabase()
Default database.
string database = 4;- Returns:
- This builder for chaining.
-
setDatabaseBytes
public QueryInfo.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
Default database.
string database = 4;- Parameters:
value- The bytes for database to set.- Returns:
- This builder for chaining.
-
getInputData
public com.google.protobuf.ByteString getInputData()
Input data, used both as data for INSERT query and as data for the input() function.
bytes input_data = 5;- Specified by:
getInputDatain interfaceQueryInfoOrBuilder- Returns:
- The inputData.
-
setInputData
public QueryInfo.Builder setInputData(com.google.protobuf.ByteString value)
Input data, used both as data for INSERT query and as data for the input() function.
bytes input_data = 5;- Parameters:
value- The inputData to set.- Returns:
- This builder for chaining.
-
clearInputData
public QueryInfo.Builder clearInputData()
Input data, used both as data for INSERT query and as data for the input() function.
bytes input_data = 5;- Returns:
- This builder for chaining.
-
getInputDataDelimiter
public com.google.protobuf.ByteString getInputDataDelimiter()
Delimiter for input_data, inserted between input_data from adjacent QueryInfos.
bytes input_data_delimiter = 6;- Specified by:
getInputDataDelimiterin interfaceQueryInfoOrBuilder- Returns:
- The inputDataDelimiter.
-
setInputDataDelimiter
public QueryInfo.Builder setInputDataDelimiter(com.google.protobuf.ByteString value)
Delimiter for input_data, inserted between input_data from adjacent QueryInfos.
bytes input_data_delimiter = 6;- Parameters:
value- The inputDataDelimiter to set.- Returns:
- This builder for chaining.
-
clearInputDataDelimiter
public QueryInfo.Builder clearInputDataDelimiter()
Delimiter for input_data, inserted between input_data from adjacent QueryInfos.
bytes input_data_delimiter = 6;- Returns:
- This builder for chaining.
-
getOutputFormat
public String getOutputFormat()
Default output format. If not specified, 'TabSeparated' is used.
string output_format = 7;- Specified by:
getOutputFormatin interfaceQueryInfoOrBuilder- Returns:
- The outputFormat.
-
getOutputFormatBytes
public com.google.protobuf.ByteString getOutputFormatBytes()
Default output format. If not specified, 'TabSeparated' is used.
string output_format = 7;- Specified by:
getOutputFormatBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for outputFormat.
-
setOutputFormat
public QueryInfo.Builder setOutputFormat(String value)
Default output format. If not specified, 'TabSeparated' is used.
string output_format = 7;- Parameters:
value- The outputFormat to set.- Returns:
- This builder for chaining.
-
clearOutputFormat
public QueryInfo.Builder clearOutputFormat()
Default output format. If not specified, 'TabSeparated' is used.
string output_format = 7;- Returns:
- This builder for chaining.
-
setOutputFormatBytes
public QueryInfo.Builder setOutputFormatBytes(com.google.protobuf.ByteString value)
Default output format. If not specified, 'TabSeparated' is used.
string output_format = 7;- Parameters:
value- The bytes for outputFormat to set.- Returns:
- This builder for chaining.
-
getSendOutputColumns
public boolean getSendOutputColumns()
Set it if you want the names and the types of output columns to be sent to the client.
bool send_output_columns = 24;- Specified by:
getSendOutputColumnsin interfaceQueryInfoOrBuilder- Returns:
- The sendOutputColumns.
-
setSendOutputColumns
public QueryInfo.Builder setSendOutputColumns(boolean value)
Set it if you want the names and the types of output columns to be sent to the client.
bool send_output_columns = 24;- Parameters:
value- The sendOutputColumns to set.- Returns:
- This builder for chaining.
-
clearSendOutputColumns
public QueryInfo.Builder clearSendOutputColumns()
Set it if you want the names and the types of output columns to be sent to the client.
bool send_output_columns = 24;- Returns:
- This builder for chaining.
-
getExternalTablesList
public List<ExternalTable> getExternalTablesList()
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesListin interfaceQueryInfoOrBuilder
-
getExternalTablesCount
public int getExternalTablesCount()
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesCountin interfaceQueryInfoOrBuilder
-
getExternalTables
public ExternalTable getExternalTables(int index)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesin interfaceQueryInfoOrBuilder
-
setExternalTables
public QueryInfo.Builder setExternalTables(int index, ExternalTable value)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
setExternalTables
public QueryInfo.Builder setExternalTables(int index, ExternalTable.Builder builderForValue)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
addExternalTables
public QueryInfo.Builder addExternalTables(ExternalTable value)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
addExternalTables
public QueryInfo.Builder addExternalTables(int index, ExternalTable value)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
addExternalTables
public QueryInfo.Builder addExternalTables(ExternalTable.Builder builderForValue)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
addExternalTables
public QueryInfo.Builder addExternalTables(int index, ExternalTable.Builder builderForValue)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
addAllExternalTables
public QueryInfo.Builder addAllExternalTables(Iterable<? extends ExternalTable> values)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
clearExternalTables
public QueryInfo.Builder clearExternalTables()
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
removeExternalTables
public QueryInfo.Builder removeExternalTables(int index)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
getExternalTablesBuilder
public ExternalTable.Builder getExternalTablesBuilder(int index)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
getExternalTablesOrBuilder
public ExternalTableOrBuilder getExternalTablesOrBuilder(int index)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesOrBuilderin interfaceQueryInfoOrBuilder
-
getExternalTablesOrBuilderList
public List<? extends ExternalTableOrBuilder> getExternalTablesOrBuilderList()
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesOrBuilderListin interfaceQueryInfoOrBuilder
-
addExternalTablesBuilder
public ExternalTable.Builder addExternalTablesBuilder()
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
addExternalTablesBuilder
public ExternalTable.Builder addExternalTablesBuilder(int index)
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
getExternalTablesBuilderList
public List<ExternalTable.Builder> getExternalTablesBuilderList()
repeated .clickhouse.grpc.ExternalTable external_tables = 8;
-
getUserName
public String getUserName()
string user_name = 9;- Specified by:
getUserNamein interfaceQueryInfoOrBuilder- Returns:
- The userName.
-
getUserNameBytes
public com.google.protobuf.ByteString getUserNameBytes()
string user_name = 9;- Specified by:
getUserNameBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for userName.
-
setUserName
public QueryInfo.Builder setUserName(String value)
string user_name = 9;- Parameters:
value- The userName to set.- Returns:
- This builder for chaining.
-
clearUserName
public QueryInfo.Builder clearUserName()
string user_name = 9;- Returns:
- This builder for chaining.
-
setUserNameBytes
public QueryInfo.Builder setUserNameBytes(com.google.protobuf.ByteString value)
string user_name = 9;- Parameters:
value- The bytes for userName to set.- Returns:
- This builder for chaining.
-
getPassword
public String getPassword()
string password = 10;- Specified by:
getPasswordin interfaceQueryInfoOrBuilder- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()
string password = 10;- Specified by:
getPasswordBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for password.
-
setPassword
public QueryInfo.Builder setPassword(String value)
string password = 10;- Parameters:
value- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
public QueryInfo.Builder clearPassword()
string password = 10;- Returns:
- This builder for chaining.
-
setPasswordBytes
public QueryInfo.Builder setPasswordBytes(com.google.protobuf.ByteString value)
string password = 10;- Parameters:
value- The bytes for password to set.- Returns:
- This builder for chaining.
-
getQuota
public String getQuota()
string quota = 11;- Specified by:
getQuotain interfaceQueryInfoOrBuilder- Returns:
- The quota.
-
getQuotaBytes
public com.google.protobuf.ByteString getQuotaBytes()
string quota = 11;- Specified by:
getQuotaBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for quota.
-
setQuota
public QueryInfo.Builder setQuota(String value)
string quota = 11;- Parameters:
value- The quota to set.- Returns:
- This builder for chaining.
-
clearQuota
public QueryInfo.Builder clearQuota()
string quota = 11;- Returns:
- This builder for chaining.
-
setQuotaBytes
public QueryInfo.Builder setQuotaBytes(com.google.protobuf.ByteString value)
string quota = 11;- Parameters:
value- The bytes for quota to set.- Returns:
- This builder for chaining.
-
getSessionId
public String getSessionId()
Works exactly like sessions in the HTTP protocol.
string session_id = 12;- Specified by:
getSessionIdin interfaceQueryInfoOrBuilder- Returns:
- The sessionId.
-
getSessionIdBytes
public com.google.protobuf.ByteString getSessionIdBytes()
Works exactly like sessions in the HTTP protocol.
string session_id = 12;- Specified by:
getSessionIdBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for sessionId.
-
setSessionId
public QueryInfo.Builder setSessionId(String value)
Works exactly like sessions in the HTTP protocol.
string session_id = 12;- Parameters:
value- The sessionId to set.- Returns:
- This builder for chaining.
-
clearSessionId
public QueryInfo.Builder clearSessionId()
Works exactly like sessions in the HTTP protocol.
string session_id = 12;- Returns:
- This builder for chaining.
-
setSessionIdBytes
public QueryInfo.Builder setSessionIdBytes(com.google.protobuf.ByteString value)
Works exactly like sessions in the HTTP protocol.
string session_id = 12;- Parameters:
value- The bytes for sessionId to set.- Returns:
- This builder for chaining.
-
getSessionCheck
public boolean getSessionCheck()
bool session_check = 13;- Specified by:
getSessionCheckin interfaceQueryInfoOrBuilder- Returns:
- The sessionCheck.
-
setSessionCheck
public QueryInfo.Builder setSessionCheck(boolean value)
bool session_check = 13;- Parameters:
value- The sessionCheck to set.- Returns:
- This builder for chaining.
-
clearSessionCheck
public QueryInfo.Builder clearSessionCheck()
bool session_check = 13;- Returns:
- This builder for chaining.
-
getSessionTimeout
public int getSessionTimeout()
uint32 session_timeout = 14;- Specified by:
getSessionTimeoutin interfaceQueryInfoOrBuilder- Returns:
- The sessionTimeout.
-
setSessionTimeout
public QueryInfo.Builder setSessionTimeout(int value)
uint32 session_timeout = 14;- Parameters:
value- The sessionTimeout to set.- Returns:
- This builder for chaining.
-
clearSessionTimeout
public QueryInfo.Builder clearSessionTimeout()
uint32 session_timeout = 14;- Returns:
- This builder for chaining.
-
getCancel
public boolean getCancel()
Set `cancel` to true to stop executing the query.
bool cancel = 15;- Specified by:
getCancelin interfaceQueryInfoOrBuilder- Returns:
- The cancel.
-
setCancel
public QueryInfo.Builder setCancel(boolean value)
Set `cancel` to true to stop executing the query.
bool cancel = 15;- Parameters:
value- The cancel to set.- Returns:
- This builder for chaining.
-
clearCancel
public QueryInfo.Builder clearCancel()
Set `cancel` to true to stop executing the query.
bool cancel = 15;- Returns:
- This builder for chaining.
-
getNextQueryInfo
public boolean getNextQueryInfo()
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;- Specified by:
getNextQueryInfoin interfaceQueryInfoOrBuilder- Returns:
- The nextQueryInfo.
-
setNextQueryInfo
public QueryInfo.Builder setNextQueryInfo(boolean value)
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;- Parameters:
value- The nextQueryInfo to set.- Returns:
- This builder for chaining.
-
clearNextQueryInfo
public QueryInfo.Builder clearNextQueryInfo()
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;- Returns:
- This builder for chaining.
-
getInputCompressionType
public String getInputCompressionType()
Compression type for `input_data`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client is responsible to compress data before putting it into `input_data`.
string input_compression_type = 20;- Specified by:
getInputCompressionTypein interfaceQueryInfoOrBuilder- Returns:
- The inputCompressionType.
-
getInputCompressionTypeBytes
public com.google.protobuf.ByteString getInputCompressionTypeBytes()
Compression type for `input_data`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client is responsible to compress data before putting it into `input_data`.
string input_compression_type = 20;- Specified by:
getInputCompressionTypeBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for inputCompressionType.
-
setInputCompressionType
public QueryInfo.Builder setInputCompressionType(String value)
Compression type for `input_data`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client is responsible to compress data before putting it into `input_data`.
string input_compression_type = 20;- Parameters:
value- The inputCompressionType to set.- Returns:
- This builder for chaining.
-
clearInputCompressionType
public QueryInfo.Builder clearInputCompressionType()
Compression type for `input_data`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client is responsible to compress data before putting it into `input_data`.
string input_compression_type = 20;- Returns:
- This builder for chaining.
-
setInputCompressionTypeBytes
public QueryInfo.Builder setInputCompressionTypeBytes(com.google.protobuf.ByteString value)
Compression type for `input_data`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client is responsible to compress data before putting it into `input_data`.
string input_compression_type = 20;- Parameters:
value- The bytes for inputCompressionType to set.- Returns:
- This builder for chaining.
-
getOutputCompressionType
public String getOutputCompressionType()
Compression type for `output_data`, `totals` and `extremes`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client receives compressed data and should decompress it by itself. Consider also setting `output_compression_level`.
string output_compression_type = 21;- Specified by:
getOutputCompressionTypein interfaceQueryInfoOrBuilder- Returns:
- The outputCompressionType.
-
getOutputCompressionTypeBytes
public com.google.protobuf.ByteString getOutputCompressionTypeBytes()
Compression type for `output_data`, `totals` and `extremes`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client receives compressed data and should decompress it by itself. Consider also setting `output_compression_level`.
string output_compression_type = 21;- Specified by:
getOutputCompressionTypeBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for outputCompressionType.
-
setOutputCompressionType
public QueryInfo.Builder setOutputCompressionType(String value)
Compression type for `output_data`, `totals` and `extremes`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client receives compressed data and should decompress it by itself. Consider also setting `output_compression_level`.
string output_compression_type = 21;- Parameters:
value- The outputCompressionType to set.- Returns:
- This builder for chaining.
-
clearOutputCompressionType
public QueryInfo.Builder clearOutputCompressionType()
Compression type for `output_data`, `totals` and `extremes`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client receives compressed data and should decompress it by itself. Consider also setting `output_compression_level`.
string output_compression_type = 21;- Returns:
- This builder for chaining.
-
setOutputCompressionTypeBytes
public QueryInfo.Builder setOutputCompressionTypeBytes(com.google.protobuf.ByteString value)
Compression type for `output_data`, `totals` and `extremes`. Supported compression types: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2. The client receives compressed data and should decompress it by itself. Consider also setting `output_compression_level`.
string output_compression_type = 21;- Parameters:
value- The bytes for outputCompressionType to set.- Returns:
- This builder for chaining.
-
getOutputCompressionLevel
public int getOutputCompressionLevel()
Compression level. WARNING: If it's not specified the compression level is set to zero by default which might be not the best choice for some compression types (see below). The compression level should be in the following range (the higher the number, the better the compression): none: compression level isn't used gzip: 0..9; 0 means no compression, 6 is recommended by default (compression level -1 also means 6) brotli: 0..11 lzma: 0..9; 6 is recommended by default zstd: 1..22; 3 is recommended by default (compression level 0 also means 3) lz4: 0..16; values < 0 mean fast acceleration bz2: 1..9
int32 output_compression_level = 19;- Specified by:
getOutputCompressionLevelin interfaceQueryInfoOrBuilder- Returns:
- The outputCompressionLevel.
-
setOutputCompressionLevel
public QueryInfo.Builder setOutputCompressionLevel(int value)
Compression level. WARNING: If it's not specified the compression level is set to zero by default which might be not the best choice for some compression types (see below). The compression level should be in the following range (the higher the number, the better the compression): none: compression level isn't used gzip: 0..9; 0 means no compression, 6 is recommended by default (compression level -1 also means 6) brotli: 0..11 lzma: 0..9; 6 is recommended by default zstd: 1..22; 3 is recommended by default (compression level 0 also means 3) lz4: 0..16; values < 0 mean fast acceleration bz2: 1..9
int32 output_compression_level = 19;- Parameters:
value- The outputCompressionLevel to set.- Returns:
- This builder for chaining.
-
clearOutputCompressionLevel
public QueryInfo.Builder clearOutputCompressionLevel()
Compression level. WARNING: If it's not specified the compression level is set to zero by default which might be not the best choice for some compression types (see below). The compression level should be in the following range (the higher the number, the better the compression): none: compression level isn't used gzip: 0..9; 0 means no compression, 6 is recommended by default (compression level -1 also means 6) brotli: 0..11 lzma: 0..9; 6 is recommended by default zstd: 1..22; 3 is recommended by default (compression level 0 also means 3) lz4: 0..16; values < 0 mean fast acceleration bz2: 1..9
int32 output_compression_level = 19;- Returns:
- This builder for chaining.
-
getTransportCompressionType
public String getTransportCompressionType()
Transport compression is an alternative way to make the server to compress its response. This kind of compression implies that instead of compressing just `output` the server will compress whole packed messages of the `Result` type, and then gRPC implementation on client side will decompress those messages so client code won't be bothered with decompression. Here is a big difference between the transport compression and the compression enabled by setting `output_compression_type` because in case of the transport compression the client code receives already decompressed data in `output`. If the transport compression is not set here it can still be enabled by the server configuration. Supported compression types: none, deflate, gzip, stream_gzip Supported compression levels: 0..3 WARNING: Don't set `transport_compression` and `output_compression` at the same time because it will make the server to compress its output twice!
string transport_compression_type = 22;- Specified by:
getTransportCompressionTypein interfaceQueryInfoOrBuilder- Returns:
- The transportCompressionType.
-
getTransportCompressionTypeBytes
public com.google.protobuf.ByteString getTransportCompressionTypeBytes()
Transport compression is an alternative way to make the server to compress its response. This kind of compression implies that instead of compressing just `output` the server will compress whole packed messages of the `Result` type, and then gRPC implementation on client side will decompress those messages so client code won't be bothered with decompression. Here is a big difference between the transport compression and the compression enabled by setting `output_compression_type` because in case of the transport compression the client code receives already decompressed data in `output`. If the transport compression is not set here it can still be enabled by the server configuration. Supported compression types: none, deflate, gzip, stream_gzip Supported compression levels: 0..3 WARNING: Don't set `transport_compression` and `output_compression` at the same time because it will make the server to compress its output twice!
string transport_compression_type = 22;- Specified by:
getTransportCompressionTypeBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for transportCompressionType.
-
setTransportCompressionType
public QueryInfo.Builder setTransportCompressionType(String value)
Transport compression is an alternative way to make the server to compress its response. This kind of compression implies that instead of compressing just `output` the server will compress whole packed messages of the `Result` type, and then gRPC implementation on client side will decompress those messages so client code won't be bothered with decompression. Here is a big difference between the transport compression and the compression enabled by setting `output_compression_type` because in case of the transport compression the client code receives already decompressed data in `output`. If the transport compression is not set here it can still be enabled by the server configuration. Supported compression types: none, deflate, gzip, stream_gzip Supported compression levels: 0..3 WARNING: Don't set `transport_compression` and `output_compression` at the same time because it will make the server to compress its output twice!
string transport_compression_type = 22;- Parameters:
value- The transportCompressionType to set.- Returns:
- This builder for chaining.
-
clearTransportCompressionType
public QueryInfo.Builder clearTransportCompressionType()
Transport compression is an alternative way to make the server to compress its response. This kind of compression implies that instead of compressing just `output` the server will compress whole packed messages of the `Result` type, and then gRPC implementation on client side will decompress those messages so client code won't be bothered with decompression. Here is a big difference between the transport compression and the compression enabled by setting `output_compression_type` because in case of the transport compression the client code receives already decompressed data in `output`. If the transport compression is not set here it can still be enabled by the server configuration. Supported compression types: none, deflate, gzip, stream_gzip Supported compression levels: 0..3 WARNING: Don't set `transport_compression` and `output_compression` at the same time because it will make the server to compress its output twice!
string transport_compression_type = 22;- Returns:
- This builder for chaining.
-
setTransportCompressionTypeBytes
public QueryInfo.Builder setTransportCompressionTypeBytes(com.google.protobuf.ByteString value)
Transport compression is an alternative way to make the server to compress its response. This kind of compression implies that instead of compressing just `output` the server will compress whole packed messages of the `Result` type, and then gRPC implementation on client side will decompress those messages so client code won't be bothered with decompression. Here is a big difference between the transport compression and the compression enabled by setting `output_compression_type` because in case of the transport compression the client code receives already decompressed data in `output`. If the transport compression is not set here it can still be enabled by the server configuration. Supported compression types: none, deflate, gzip, stream_gzip Supported compression levels: 0..3 WARNING: Don't set `transport_compression` and `output_compression` at the same time because it will make the server to compress its output twice!
string transport_compression_type = 22;- Parameters:
value- The bytes for transportCompressionType to set.- Returns:
- This builder for chaining.
-
getTransportCompressionLevel
public int getTransportCompressionLevel()
int32 transport_compression_level = 23;- Specified by:
getTransportCompressionLevelin interfaceQueryInfoOrBuilder- Returns:
- The transportCompressionLevel.
-
setTransportCompressionLevel
public QueryInfo.Builder setTransportCompressionLevel(int value)
int32 transport_compression_level = 23;- Parameters:
value- The transportCompressionLevel to set.- Returns:
- This builder for chaining.
-
clearTransportCompressionLevel
public QueryInfo.Builder clearTransportCompressionLevel()
int32 transport_compression_level = 23;- Returns:
- This builder for chaining.
-
hasObsoleteResultCompression
public boolean hasObsoleteResultCompression()
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;- Specified by:
hasObsoleteResultCompressionin interfaceQueryInfoOrBuilder- Returns:
- Whether the obsoleteResultCompression field is set.
-
getObsoleteResultCompression
public ObsoleteTransportCompression getObsoleteResultCompression()
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;- Specified by:
getObsoleteResultCompressionin interfaceQueryInfoOrBuilder- Returns:
- The obsoleteResultCompression.
-
setObsoleteResultCompression
public QueryInfo.Builder setObsoleteResultCompression(ObsoleteTransportCompression value)
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;
-
setObsoleteResultCompression
public QueryInfo.Builder setObsoleteResultCompression(ObsoleteTransportCompression.Builder builderForValue)
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;
-
mergeObsoleteResultCompression
public QueryInfo.Builder mergeObsoleteResultCompression(ObsoleteTransportCompression value)
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;
-
clearObsoleteResultCompression
public QueryInfo.Builder clearObsoleteResultCompression()
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;
-
getObsoleteResultCompressionBuilder
public ObsoleteTransportCompression.Builder getObsoleteResultCompressionBuilder()
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;
-
getObsoleteResultCompressionOrBuilder
public ObsoleteTransportCompressionOrBuilder getObsoleteResultCompressionOrBuilder()
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;- Specified by:
getObsoleteResultCompressionOrBuilderin interfaceQueryInfoOrBuilder
-
getObsoleteCompressionType
public String getObsoleteCompressionType()
string obsolete_compression_type = 18;- Specified by:
getObsoleteCompressionTypein interfaceQueryInfoOrBuilder- Returns:
- The obsoleteCompressionType.
-
getObsoleteCompressionTypeBytes
public com.google.protobuf.ByteString getObsoleteCompressionTypeBytes()
string obsolete_compression_type = 18;- Specified by:
getObsoleteCompressionTypeBytesin interfaceQueryInfoOrBuilder- Returns:
- The bytes for obsoleteCompressionType.
-
setObsoleteCompressionType
public QueryInfo.Builder setObsoleteCompressionType(String value)
string obsolete_compression_type = 18;- Parameters:
value- The obsoleteCompressionType to set.- Returns:
- This builder for chaining.
-
clearObsoleteCompressionType
public QueryInfo.Builder clearObsoleteCompressionType()
string obsolete_compression_type = 18;- Returns:
- This builder for chaining.
-
setObsoleteCompressionTypeBytes
public QueryInfo.Builder setObsoleteCompressionTypeBytes(com.google.protobuf.ByteString value)
string obsolete_compression_type = 18;- Parameters:
value- The bytes for obsoleteCompressionType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final QueryInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
mergeUnknownFields
public final QueryInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryInfo.Builder>
-
-