Interface ResultOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Result, Result.Builder

public interface ResultOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getQueryId

      String getQueryId()
      string query_id = 9;
      Returns:
      The queryId.
    • getQueryIdBytes

      com.google.protobuf.ByteString getQueryIdBytes()
      string query_id = 9;
      Returns:
      The bytes for queryId.
    • getTimeZone

      String getTimeZone()
      string time_zone = 10;
      Returns:
      The timeZone.
    • getTimeZoneBytes

      com.google.protobuf.ByteString getTimeZoneBytes()
      string time_zone = 10;
      Returns:
      The bytes for timeZone.
    • getOutputFormat

      String getOutputFormat()
       The format in which `output`, `totals` and `extremes` are written.
       It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
       
      string output_format = 11;
      Returns:
      The outputFormat.
    • getOutputFormatBytes

      com.google.protobuf.ByteString getOutputFormatBytes()
       The format in which `output`, `totals` and `extremes` are written.
       It's either the same as `output_format` specified in `QueryInfo` or the format specified in the query itself.
       
      string output_format = 11;
      Returns:
      The bytes for outputFormat.
    • getOutputColumnsList

      List<NameAndType> getOutputColumnsList()
       The names and types of columns of the result written in `output`.
       
      repeated .clickhouse.grpc.NameAndType output_columns = 12;
    • getOutputColumns

      NameAndType getOutputColumns(int index)
       The names and types of columns of the result written in `output`.
       
      repeated .clickhouse.grpc.NameAndType output_columns = 12;
    • getOutputColumnsCount

      int getOutputColumnsCount()
       The names and types of columns of the result written in `output`.
       
      repeated .clickhouse.grpc.NameAndType output_columns = 12;
    • getOutputColumnsOrBuilderList

      List<? extends NameAndTypeOrBuilder> getOutputColumnsOrBuilderList()
       The names and types of columns of the result written in `output`.
       
      repeated .clickhouse.grpc.NameAndType output_columns = 12;
    • getOutputColumnsOrBuilder

      NameAndTypeOrBuilder getOutputColumnsOrBuilder(int index)
       The names and types of columns of the result written in `output`.
       
      repeated .clickhouse.grpc.NameAndType output_columns = 12;
    • getOutput

      com.google.protobuf.ByteString getOutput()
       Output of the query, represented in the `output_format`.
       
      bytes output = 1;
      Returns:
      The output.
    • getTotals

      com.google.protobuf.ByteString getTotals()
      bytes totals = 2;
      Returns:
      The totals.
    • getExtremes

      com.google.protobuf.ByteString getExtremes()
      bytes extremes = 3;
      Returns:
      The extremes.
    • getLogsList

      List<LogEntry> getLogsList()
      repeated .clickhouse.grpc.LogEntry logs = 4;
    • getLogs

      LogEntry getLogs(int index)
      repeated .clickhouse.grpc.LogEntry logs = 4;
    • getLogsCount

      int getLogsCount()
      repeated .clickhouse.grpc.LogEntry logs = 4;
    • getLogsOrBuilderList

      List<? extends LogEntryOrBuilder> getLogsOrBuilderList()
      repeated .clickhouse.grpc.LogEntry logs = 4;
    • getLogsOrBuilder

      LogEntryOrBuilder getLogsOrBuilder(int index)
      repeated .clickhouse.grpc.LogEntry logs = 4;
    • hasProgress

      boolean hasProgress()
      .clickhouse.grpc.Progress progress = 5;
      Returns:
      Whether the progress field is set.
    • getProgress

      Progress getProgress()
      .clickhouse.grpc.Progress progress = 5;
      Returns:
      The progress.
    • getProgressOrBuilder

      ProgressOrBuilder getProgressOrBuilder()
      .clickhouse.grpc.Progress progress = 5;
    • hasStats

      boolean hasStats()
      .clickhouse.grpc.Stats stats = 6;
      Returns:
      Whether the stats field is set.
    • getStats

      Stats getStats()
      .clickhouse.grpc.Stats stats = 6;
      Returns:
      The stats.
    • getStatsOrBuilder

      StatsOrBuilder getStatsOrBuilder()
      .clickhouse.grpc.Stats stats = 6;
    • hasException

      boolean hasException()
       Set by the ClickHouse server if there was an exception thrown while executing.
       
      .clickhouse.grpc.Exception exception = 7;
      Returns:
      Whether the exception field is set.
    • getException

      Exception getException()
       Set by the ClickHouse server if there was an exception thrown while executing.
       
      .clickhouse.grpc.Exception exception = 7;
      Returns:
      The exception.
    • getExceptionOrBuilder

      ExceptionOrBuilder getExceptionOrBuilder()
       Set by the ClickHouse server if there was an exception thrown while executing.
       
      .clickhouse.grpc.Exception exception = 7;
    • getCancelled

      boolean getCancelled()
       Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.
       
      bool cancelled = 8;
      Returns:
      The cancelled.