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
Modifier and TypeMethodDescriptionbooleanSet by the ClickHouse server if executing was cancelled by the `cancel` field in QueryInfo.Set by the ClickHouse server if there was an exception thrown while executing.Set by the ClickHouse server if there was an exception thrown while executing.com.google.protobuf.ByteStringbytes extremes = 3;getLogs(int index) repeated .clickhouse.grpc.LogEntry logs = 4;intrepeated .clickhouse.grpc.LogEntry logs = 4;repeated .clickhouse.grpc.LogEntry logs = 4;getLogsOrBuilder(int index) repeated .clickhouse.grpc.LogEntry logs = 4;List<? extends LogEntryOrBuilder>repeated .clickhouse.grpc.LogEntry logs = 4;com.google.protobuf.ByteStringOutput of the query, represented in the `output_format`.getOutputColumns(int index) The names and types of columns of the result written in `output`.intThe names and types of columns of the result written in `output`.The names and types of columns of the result written in `output`.getOutputColumnsOrBuilder(int index) The names and types of columns of the result written in `output`.List<? extends NameAndTypeOrBuilder>The names and types of columns of the result written in `output`.The format in which `output`, `totals` and `extremes` are written.com.google.protobuf.ByteStringThe format in which `output`, `totals` and `extremes` are written..clickhouse.grpc.Progress progress = 5;.clickhouse.grpc.Progress progress = 5;string query_id = 9;com.google.protobuf.ByteStringstring query_id = 9;getStats().clickhouse.grpc.Stats stats = 6;.clickhouse.grpc.Stats stats = 6;string time_zone = 10;com.google.protobuf.ByteStringstring time_zone = 10;com.google.protobuf.ByteStringbytes totals = 2;booleanSet by the ClickHouse server if there was an exception thrown while executing.boolean.clickhouse.grpc.Progress progress = 5;booleanhasStats().clickhouse.grpc.Stats stats = 6;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
-
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
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
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
repeated .clickhouse.grpc.LogEntry logs = 4; -
getLogs
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
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.
-