Package com.clickhouse.client.grpc.impl
Interface ExternalTableOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExternalTable,ExternalTable.Builder
public interface ExternalTableOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSettings(String key) Settings for executing that insertion, applied after QueryInfo.settings.getColumns(int index) Columns of the table.intColumns of the table.Columns of the table.getColumnsOrBuilder(int index) Columns of the table.List<? extends NameAndTypeOrBuilder>Columns of the table.Compression type used to compress `data`.com.google.protobuf.ByteStringCompression type used to compress `data`.com.google.protobuf.ByteStringgetData()Data to insert to the external table.Format of the data to insert to the external table.com.google.protobuf.ByteStringFormat of the data to insert to the external table.getName()Name of the table.com.google.protobuf.ByteStringName of the table.Deprecated.intSettings for executing that insertion, applied after QueryInfo.settings.Settings for executing that insertion, applied after QueryInfo.settings.getSettingsOrDefault(String key, String defaultValue) Settings for executing that insertion, applied after QueryInfo.settings.getSettingsOrThrow(String key) Settings for executing that insertion, applied after QueryInfo.settings.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Name of the table. If omitted, "_data" is used.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the table. If omitted, "_data" is used.
string name = 1;- Returns:
- The bytes for name.
-
getColumnsList
List<NameAndType> getColumnsList()Columns of the table. Types are required, names can be omitted. If the names are omitted, "_1", "_2", ... is used.
repeated .clickhouse.grpc.NameAndType columns = 2; -
getColumns
Columns of the table. Types are required, names can be omitted. If the names are omitted, "_1", "_2", ... is used.
repeated .clickhouse.grpc.NameAndType columns = 2; -
getColumnsCount
int getColumnsCount()Columns of the table. Types are required, names can be omitted. If the names are omitted, "_1", "_2", ... is used.
repeated .clickhouse.grpc.NameAndType columns = 2; -
getColumnsOrBuilderList
List<? extends NameAndTypeOrBuilder> getColumnsOrBuilderList()Columns of the table. Types are required, names can be omitted. If the names are omitted, "_1", "_2", ... is used.
repeated .clickhouse.grpc.NameAndType columns = 2; -
getColumnsOrBuilder
Columns of the table. Types are required, names can be omitted. If the names are omitted, "_1", "_2", ... is used.
repeated .clickhouse.grpc.NameAndType columns = 2; -
getData
com.google.protobuf.ByteString getData()Data to insert to the external table. If a method with streaming input (i.e. ExecuteQueryWithStreamInput() or ExecuteQueryWithStreamIO()) is used, then data for insertion to the same external table can be split between multiple QueryInfos.
bytes data = 3;- Returns:
- The data.
-
getFormat
String getFormat()Format of the data to insert to the external table.
string format = 4;- Returns:
- The format.
-
getFormatBytes
com.google.protobuf.ByteString getFormatBytes()Format of the data to insert to the external table.
string format = 4;- Returns:
- The bytes for format.
-
getCompressionType
String getCompressionType()Compression type used to compress `data`. Supported values: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2.
string compression_type = 6;- Returns:
- The compressionType.
-
getCompressionTypeBytes
com.google.protobuf.ByteString getCompressionTypeBytes()Compression type used to compress `data`. Supported values: none, gzip(gz), deflate, brotli(br), lzma(xz), zstd(zst), lz4, bz2.
string compression_type = 6;- Returns:
- The bytes for compressionType.
-
getSettingsCount
int getSettingsCount()Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5; -
containsSettings
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5; -
getSettings
Deprecated.UsegetSettingsMap()instead. -
getSettingsMap
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5; -
getSettingsOrDefault
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5; -
getSettingsOrThrow
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5;
-