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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsSettings(String key)Settings for executing that insertion, applied after QueryInfo.settings.NameAndTypegetColumns(int index)Columns of the table.intgetColumnsCount()Columns of the table.List<NameAndType>getColumnsList()Columns of the table.NameAndTypeOrBuildergetColumnsOrBuilder(int index)Columns of the table.List<? extends NameAndTypeOrBuilder>getColumnsOrBuilderList()Columns of the table.StringgetCompressionType()Compression type used to compress `data`.com.google.protobuf.ByteStringgetCompressionTypeBytes()Compression type used to compress `data`.com.google.protobuf.ByteStringgetData()Data to insert to the external table.StringgetFormat()Format of the data to insert to the external table.com.google.protobuf.ByteStringgetFormatBytes()Format of the data to insert to the external table.StringgetName()Name of the table.com.google.protobuf.ByteStringgetNameBytes()Name of the table.Map<String,String>getSettings()Deprecated.intgetSettingsCount()Settings for executing that insertion, applied after QueryInfo.settings.Map<String,String>getSettingsMap()Settings for executing that insertion, applied after QueryInfo.settings.StringgetSettingsOrDefault(String key, String defaultValue)Settings for executing that insertion, applied after QueryInfo.settings.StringgetSettingsOrThrow(String key)Settings for executing that insertion, applied after QueryInfo.settings.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
NameAndType getColumns(int index)
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
NameAndTypeOrBuilder getColumnsOrBuilder(int index)
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
boolean containsSettings(String key)
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5;
-
getSettings
@Deprecated Map<String,String> getSettings()
Deprecated.UsegetSettingsMap()instead.
-
getSettingsMap
Map<String,String> getSettingsMap()
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5;
-
getSettingsOrDefault
String getSettingsOrDefault(String key, String defaultValue)
Settings for executing that insertion, applied after QueryInfo.settings.
map<string, string> settings = 5;
-
-