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 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;
      • 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;
      • getSettingsOrThrow

        String getSettingsOrThrow​(String key)
         Settings for executing that insertion, applied after QueryInfo.settings.
         
        map<string, string> settings = 5;