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` or in a format specified in `query`.ProgressgetProgress().clickhouse.grpc.Progress progress = 5;ProgressOrBuildergetProgressOrBuilder().clickhouse.grpc.Progress progress = 5;StatsgetStats().clickhouse.grpc.Stats stats = 6;StatsOrBuildergetStatsOrBuilder().clickhouse.grpc.Stats stats = 6;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
-
getOutput
com.google.protobuf.ByteString getOutput()
Output of the query, represented in the `output_format` or in a format specified in `query`.
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.
-
-