Package com.clickhouse.client.grpc.impl
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetCancelled()Set by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.ExceptiongetException()Set by the ClickHouse server if there was an exception thrown while executing.ExceptionOrBuildergetExceptionOrBuilder()Set by the ClickHouse server if there was an exception thrown while executing.com.google.protobuf.ByteStringgetExtremes()bytes extremes = 3;LogEntrygetLogs(int index)repeated .clickhouse.grpc.LogEntry logs = 4;intgetLogsCount()repeated .clickhouse.grpc.LogEntry logs = 4;List<LogEntry>getLogsList()repeated .clickhouse.grpc.LogEntry logs = 4;LogEntryOrBuildergetLogsOrBuilder(int index)repeated .clickhouse.grpc.LogEntry logs = 4;List<? extends LogEntryOrBuilder>getLogsOrBuilderList()repeated .clickhouse.grpc.LogEntry logs = 4;com.google.protobuf.ByteStringgetOutput()Output of the query, represented in the `output_format`.NameAndTypegetOutputColumns(int index)The names and types of columns of the result written in `output`.intgetOutputColumnsCount()The names and types of columns of the result written in `output`.List<NameAndType>getOutputColumnsList()The names and types of columns of the result written in `output`.NameAndTypeOrBuildergetOutputColumnsOrBuilder(int index)The names and types of columns of the result written in `output`.List<? extends NameAndTypeOrBuilder>getOutputColumnsOrBuilderList()The names and types of columns of the result written in `output`.StringgetOutputFormat()The format in which `output`, `totals` and `extremes` are written.com.google.protobuf.ByteStringgetOutputFormatBytes()The format in which `output`, `totals` and `extremes` are written.ProgressgetProgress().clickhouse.grpc.Progress progress = 5;ProgressOrBuildergetProgressOrBuilder().clickhouse.grpc.Progress progress = 5;StringgetQueryId()string query_id = 9;com.google.protobuf.ByteStringgetQueryIdBytes()string query_id = 9;StatsgetStats().clickhouse.grpc.Stats stats = 6;StatsOrBuildergetStatsOrBuilder().clickhouse.grpc.Stats stats = 6;StringgetTimeZone()string time_zone = 10;com.google.protobuf.ByteStringgetTimeZoneBytes()string time_zone = 10;com.google.protobuf.ByteStringgetTotals()bytes totals = 2;booleanhasException()Set by the ClickHouse server if there was an exception thrown while executing.booleanhasProgress().clickhouse.grpc.Progress progress = 5;booleanhasStats().clickhouse.grpc.Stats stats = 6;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
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.
-
-