Package com.clickhouse.client.grpc.impl
Class QueryInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.clickhouse.client.grpc.impl.QueryInfo
- All Implemented Interfaces:
QueryInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class QueryInfo
extends com.google.protobuf.GeneratedMessageV3
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 type
clickhouse.grpc.QueryInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInformation about a query which a client sends to a ClickHouse server.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSettings(String key) map<string, string> settings = 3;booleanbooleanSet `cancel` to true to stop executing the query.Default database.com.google.protobuf.ByteStringDefault database.static QueryInfostatic final com.google.protobuf.Descriptors.DescriptorgetExternalTables(int index) repeated .clickhouse.grpc.ExternalTable external_tables = 8;intrepeated .clickhouse.grpc.ExternalTable external_tables = 8;repeated .clickhouse.grpc.ExternalTable external_tables = 8;getExternalTablesOrBuilder(int index) repeated .clickhouse.grpc.ExternalTable external_tables = 8;List<? extends ExternalTableOrBuilder>repeated .clickhouse.grpc.ExternalTable external_tables = 8;Compression type for `input_data`.com.google.protobuf.ByteStringCompression type for `input_data`.com.google.protobuf.ByteStringInput data, used both as data for INSERT query and as data for the input() function.com.google.protobuf.ByteStringDelimiter for input_data, inserted between input_data from adjacent QueryInfos.booleanIf true there will be at least one more QueryInfo in the input stream.string obsolete_compression_type = 18;com.google.protobuf.ByteStringstring obsolete_compression_type = 18;/ Obsolete fields, should not be used in new code./ Obsolete fields, should not be used in new code.intCompression level.Compression type for `output_data`, `totals` and `extremes`.com.google.protobuf.ByteStringCompression type for `output_data`, `totals` and `extremes`.Default output format.com.google.protobuf.ByteStringDefault output format.com.google.protobuf.Parser<QueryInfo>string password = 10;com.google.protobuf.ByteStringstring password = 10;getQuery()string query = 1;com.google.protobuf.ByteStringstring query = 1;string query_id = 2;com.google.protobuf.ByteStringstring query_id = 2;getQuota()string quota = 11;com.google.protobuf.ByteStringstring quota = 11;booleanSet it if you want the names and the types of output columns to be sent to the client.intbooleanbool session_check = 13;Works exactly like sessions in the HTTP protocol.com.google.protobuf.ByteStringWorks exactly like sessions in the HTTP protocol.intuint32 session_timeout = 14;Deprecated.intmap<string, string> settings = 3;map<string, string> settings = 3;getSettingsOrDefault(String key, String defaultValue) map<string, string> settings = 3;getSettingsOrThrow(String key) map<string, string> settings = 3;intint32 transport_compression_level = 23;Transport compression is an alternative way to make the server to compress its response.com.google.protobuf.ByteStringTransport compression is an alternative way to make the server to compress its response.final com.google.protobuf.UnknownFieldSetstring user_name = 9;com.google.protobuf.ByteStringstring user_name = 9;inthashCode()boolean/ Obsolete fields, should not be used in new code.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic QueryInfo.Builderstatic QueryInfo.BuildernewBuilder(QueryInfo prototype) protected QueryInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static QueryInfoparseDelimitedFrom(InputStream input) static QueryInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryInfoparseFrom(byte[] data) static QueryInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryInfoparseFrom(com.google.protobuf.ByteString data) static QueryInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryInfoparseFrom(com.google.protobuf.CodedInputStream input) static QueryInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryInfoparseFrom(InputStream input) static QueryInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QueryInfoparseFrom(ByteBuffer data) static QueryInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<QueryInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER- See Also:
-
QUERY_ID_FIELD_NUMBER
public static final int QUERY_ID_FIELD_NUMBER- See Also:
-
SETTINGS_FIELD_NUMBER
public static final int SETTINGS_FIELD_NUMBER- See Also:
-
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER- See Also:
-
INPUT_DATA_FIELD_NUMBER
public static final int INPUT_DATA_FIELD_NUMBER- See Also:
-
INPUT_DATA_DELIMITER_FIELD_NUMBER
public static final int INPUT_DATA_DELIMITER_FIELD_NUMBER- See Also:
-
OUTPUT_FORMAT_FIELD_NUMBER
public static final int OUTPUT_FORMAT_FIELD_NUMBER- See Also:
-
SEND_OUTPUT_COLUMNS_FIELD_NUMBER
public static final int SEND_OUTPUT_COLUMNS_FIELD_NUMBER- See Also:
-
EXTERNAL_TABLES_FIELD_NUMBER
public static final int EXTERNAL_TABLES_FIELD_NUMBER- See Also:
-
USER_NAME_FIELD_NUMBER
public static final int USER_NAME_FIELD_NUMBER- See Also:
-
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER- See Also:
-
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER- See Also:
-
SESSION_ID_FIELD_NUMBER
public static final int SESSION_ID_FIELD_NUMBER- See Also:
-
SESSION_CHECK_FIELD_NUMBER
public static final int SESSION_CHECK_FIELD_NUMBER- See Also:
-
SESSION_TIMEOUT_FIELD_NUMBER
public static final int SESSION_TIMEOUT_FIELD_NUMBER- See Also:
-
CANCEL_FIELD_NUMBER
public static final int CANCEL_FIELD_NUMBER- See Also:
-
NEXT_QUERY_INFO_FIELD_NUMBER
public static final int NEXT_QUERY_INFO_FIELD_NUMBER- See Also:
-
INPUT_COMPRESSION_TYPE_FIELD_NUMBER
public static final int INPUT_COMPRESSION_TYPE_FIELD_NUMBER- See Also:
-
OUTPUT_COMPRESSION_TYPE_FIELD_NUMBER
public static final int OUTPUT_COMPRESSION_TYPE_FIELD_NUMBER- See Also:
-
OUTPUT_COMPRESSION_LEVEL_FIELD_NUMBER
public static final int OUTPUT_COMPRESSION_LEVEL_FIELD_NUMBER- See Also:
-
TRANSPORT_COMPRESSION_TYPE_FIELD_NUMBER
public static final int TRANSPORT_COMPRESSION_TYPE_FIELD_NUMBER- See Also:
-
TRANSPORT_COMPRESSION_LEVEL_FIELD_NUMBER
public static final int TRANSPORT_COMPRESSION_LEVEL_FIELD_NUMBER- See Also:
-
OBSOLETE_RESULT_COMPRESSION_FIELD_NUMBER
public static final int OBSOLETE_RESULT_COMPRESSION_FIELD_NUMBER- See Also:
-
OBSOLETE_COMPRESSION_TYPE_FIELD_NUMBER
public static final int OBSOLETE_COMPRESSION_TYPE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
getSettingsCount
public int getSettingsCount()Description copied from interface:QueryInfoOrBuildermap<string, string> settings = 3;- Specified by:
getSettingsCountin interfaceQueryInfoOrBuilder
-
containsSettings
map<string, string> settings = 3;- Specified by:
containsSettingsin interfaceQueryInfoOrBuilder
-
getSettings
Deprecated.UsegetSettingsMap()instead.- Specified by:
getSettingsin interfaceQueryInfoOrBuilder
-
getSettingsMap
map<string, string> settings = 3;- Specified by:
getSettingsMapin interfaceQueryInfoOrBuilder
-
getSettingsOrDefault
map<string, string> settings = 3;- Specified by:
getSettingsOrDefaultin interfaceQueryInfoOrBuilder
-
getSettingsOrThrow
map<string, string> settings = 3;- Specified by:
getSettingsOrThrowin interfaceQueryInfoOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
getExternalTablesList
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesListin interfaceQueryInfoOrBuilder
-
getExternalTablesOrBuilderList
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesOrBuilderListin interfaceQueryInfoOrBuilder
-
getExternalTablesCount
public int getExternalTablesCount()repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesCountin interfaceQueryInfoOrBuilder
-
getExternalTables
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesin interfaceQueryInfoOrBuilder
-
getExternalTablesOrBuilder
repeated .clickhouse.grpc.ExternalTable external_tables = 8;- Specified by:
getExternalTablesOrBuilderin interfaceQueryInfoOrBuilder
-
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.
-
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.
-
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.
-
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.
-
getSessionCheck
public boolean getSessionCheck()bool session_check = 13;- Specified by:
getSessionCheckin interfaceQueryInfoOrBuilder- Returns:
- The sessionCheck.
-
getSessionTimeout
public int getSessionTimeout()uint32 session_timeout = 14;- Specified by:
getSessionTimeoutin interfaceQueryInfoOrBuilder- Returns:
- The sessionTimeout.
-
getCancel
public boolean getCancel()Set `cancel` to true to stop executing the query.
bool cancel = 15;- Specified by:
getCancelin interfaceQueryInfoOrBuilder- Returns:
- The cancel.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getTransportCompressionLevel
public int getTransportCompressionLevel()int32 transport_compression_level = 23;- Specified by:
getTransportCompressionLevelin interfaceQueryInfoOrBuilder- Returns:
- The transportCompressionLevel.
-
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
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;- Specified by:
getObsoleteResultCompressionin interfaceQueryInfoOrBuilder- Returns:
- The obsoleteResultCompression.
-
getObsoleteResultCompressionOrBuilder
/ Obsolete fields, should not be used in new code.
.clickhouse.grpc.ObsoleteTransportCompression obsolete_result_compression = 17;- Specified by:
getObsoleteResultCompressionOrBuilderin interfaceQueryInfoOrBuilder
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static QueryInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QueryInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QueryInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QueryInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QueryInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-