public final class SelectResponse extends com.google.protobuf.GeneratedMessageV3 implements SelectResponseOrBuilder
Response for SelectRequest.Protobuf type
tipb.SelectResponse| Modifier and Type | Class and Description |
|---|---|
static class |
SelectResponse.Builder
Response for SelectRequest.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNKS_FIELD_NUMBER |
static int |
ENCODE_TYPE_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
EXECUTION_SUMMARIES_FIELD_NUMBER |
static int |
OUTPUT_COUNTS_FIELD_NUMBER |
static com.google.protobuf.Parser<SelectResponse> |
PARSER
Deprecated.
|
static int |
ROWS_FIELD_NUMBER |
static int |
WARNING_COUNT_FIELD_NUMBER |
static int |
WARNINGS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Chunk |
getChunks(int index)
Use multiple chunks to reduce memory allocation and
avoid allocating large contiguous memory.
|
int |
getChunksCount()
Use multiple chunks to reduce memory allocation and
avoid allocating large contiguous memory.
|
List<Chunk> |
getChunksList()
Use multiple chunks to reduce memory allocation and
avoid allocating large contiguous memory.
|
ChunkOrBuilder |
getChunksOrBuilder(int index)
Use multiple chunks to reduce memory allocation and
avoid allocating large contiguous memory.
|
List<? extends ChunkOrBuilder> |
getChunksOrBuilderList()
Use multiple chunks to reduce memory allocation and
avoid allocating large contiguous memory.
|
static SelectResponse |
getDefaultInstance() |
SelectResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EncodeType |
getEncodeType()
It indicates the encode type of response.
|
Error |
getError()
optional .tipb.Error error = 1; |
ErrorOrBuilder |
getErrorOrBuilder()
optional .tipb.Error error = 1; |
ExecutorExecutionSummary |
getExecutionSummaries(int index)
The execution summary of each executor, in the order in request.
|
int |
getExecutionSummariesCount()
The execution summary of each executor, in the order in request.
|
List<ExecutorExecutionSummary> |
getExecutionSummariesList()
The execution summary of each executor, in the order in request.
|
ExecutorExecutionSummaryOrBuilder |
getExecutionSummariesOrBuilder(int index)
The execution summary of each executor, in the order in request.
|
List<? extends ExecutorExecutionSummaryOrBuilder> |
getExecutionSummariesOrBuilderList()
The execution summary of each executor, in the order in request.
|
long |
getOutputCounts(int index)
repeated int64 output_counts = 5; |
int |
getOutputCountsCount()
repeated int64 output_counts = 5; |
List<Long> |
getOutputCountsList()
repeated int64 output_counts = 5; |
com.google.protobuf.Parser<SelectResponse> |
getParserForType() |
Row |
getRows(int index)
Result rows.
|
int |
getRowsCount()
Result rows.
|
List<Row> |
getRowsList()
Result rows.
|
RowOrBuilder |
getRowsOrBuilder(int index)
Result rows.
|
List<? extends RowOrBuilder> |
getRowsOrBuilderList()
Result rows.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
long |
getWarningCount()
optional int64 warning_count = 6; |
Error |
getWarnings(int index)
repeated .tipb.Error warnings = 4; |
int |
getWarningsCount()
repeated .tipb.Error warnings = 4; |
List<Error> |
getWarningsList()
repeated .tipb.Error warnings = 4; |
ErrorOrBuilder |
getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4; |
List<? extends ErrorOrBuilder> |
getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4; |
boolean |
hasEncodeType()
It indicates the encode type of response.
|
boolean |
hasError()
optional .tipb.Error error = 1; |
int |
hashCode() |
boolean |
hasWarningCount()
optional int64 warning_count = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SelectResponse.Builder |
newBuilder() |
static SelectResponse.Builder |
newBuilder(SelectResponse prototype) |
SelectResponse.Builder |
newBuilderForType() |
protected SelectResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SelectResponse |
parseDelimitedFrom(InputStream input) |
static SelectResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SelectResponse |
parseFrom(byte[] data) |
static SelectResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SelectResponse |
parseFrom(ByteBuffer data) |
static SelectResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SelectResponse |
parseFrom(com.google.protobuf.ByteString data) |
static SelectResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SelectResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SelectResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SelectResponse |
parseFrom(InputStream input) |
static SelectResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SelectResponse> |
parser() |
SelectResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ERROR_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER
public static final int CHUNKS_FIELD_NUMBER
public static final int WARNINGS_FIELD_NUMBER
public static final int OUTPUT_COUNTS_FIELD_NUMBER
public static final int WARNING_COUNT_FIELD_NUMBER
public static final int EXECUTION_SUMMARIES_FIELD_NUMBER
public static final int ENCODE_TYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<SelectResponse> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasError()
optional .tipb.Error error = 1;hasError in interface SelectResponseOrBuilderpublic Error getError()
optional .tipb.Error error = 1;getError in interface SelectResponseOrBuilderpublic ErrorOrBuilder getErrorOrBuilder()
optional .tipb.Error error = 1;getErrorOrBuilder in interface SelectResponseOrBuilderpublic List<Row> getRowsList()
Result rows.
repeated .tipb.Row rows = 2;getRowsList in interface SelectResponseOrBuilderpublic List<? extends RowOrBuilder> getRowsOrBuilderList()
Result rows.
repeated .tipb.Row rows = 2;getRowsOrBuilderList in interface SelectResponseOrBuilderpublic int getRowsCount()
Result rows.
repeated .tipb.Row rows = 2;getRowsCount in interface SelectResponseOrBuilderpublic Row getRows(int index)
Result rows.
repeated .tipb.Row rows = 2;getRows in interface SelectResponseOrBuilderpublic RowOrBuilder getRowsOrBuilder(int index)
Result rows.
repeated .tipb.Row rows = 2;getRowsOrBuilder in interface SelectResponseOrBuilderpublic List<Chunk> getChunksList()
Use multiple chunks to reduce memory allocation and avoid allocating large contiguous memory.
repeated .tipb.Chunk chunks = 3 [(.gogoproto.nullable) = false];getChunksList in interface SelectResponseOrBuilderpublic List<? extends ChunkOrBuilder> getChunksOrBuilderList()
Use multiple chunks to reduce memory allocation and avoid allocating large contiguous memory.
repeated .tipb.Chunk chunks = 3 [(.gogoproto.nullable) = false];getChunksOrBuilderList in interface SelectResponseOrBuilderpublic int getChunksCount()
Use multiple chunks to reduce memory allocation and avoid allocating large contiguous memory.
repeated .tipb.Chunk chunks = 3 [(.gogoproto.nullable) = false];getChunksCount in interface SelectResponseOrBuilderpublic Chunk getChunks(int index)
Use multiple chunks to reduce memory allocation and avoid allocating large contiguous memory.
repeated .tipb.Chunk chunks = 3 [(.gogoproto.nullable) = false];getChunks in interface SelectResponseOrBuilderpublic ChunkOrBuilder getChunksOrBuilder(int index)
Use multiple chunks to reduce memory allocation and avoid allocating large contiguous memory.
repeated .tipb.Chunk chunks = 3 [(.gogoproto.nullable) = false];getChunksOrBuilder in interface SelectResponseOrBuilderpublic List<Error> getWarningsList()
repeated .tipb.Error warnings = 4;getWarningsList in interface SelectResponseOrBuilderpublic List<? extends ErrorOrBuilder> getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4;getWarningsOrBuilderList in interface SelectResponseOrBuilderpublic int getWarningsCount()
repeated .tipb.Error warnings = 4;getWarningsCount in interface SelectResponseOrBuilderpublic Error getWarnings(int index)
repeated .tipb.Error warnings = 4;getWarnings in interface SelectResponseOrBuilderpublic ErrorOrBuilder getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4;getWarningsOrBuilder in interface SelectResponseOrBuilderpublic List<Long> getOutputCountsList()
repeated int64 output_counts = 5;getOutputCountsList in interface SelectResponseOrBuilderpublic int getOutputCountsCount()
repeated int64 output_counts = 5;getOutputCountsCount in interface SelectResponseOrBuilderpublic long getOutputCounts(int index)
repeated int64 output_counts = 5;getOutputCounts in interface SelectResponseOrBuilderindex - The index of the element to return.public boolean hasWarningCount()
optional int64 warning_count = 6;hasWarningCount in interface SelectResponseOrBuilderpublic long getWarningCount()
optional int64 warning_count = 6;getWarningCount in interface SelectResponseOrBuilderpublic List<ExecutorExecutionSummary> getExecutionSummariesList()
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;getExecutionSummariesList in interface SelectResponseOrBuilderpublic List<? extends ExecutorExecutionSummaryOrBuilder> getExecutionSummariesOrBuilderList()
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;getExecutionSummariesOrBuilderList in interface SelectResponseOrBuilderpublic int getExecutionSummariesCount()
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;getExecutionSummariesCount in interface SelectResponseOrBuilderpublic ExecutorExecutionSummary getExecutionSummaries(int index)
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;getExecutionSummaries in interface SelectResponseOrBuilderpublic ExecutorExecutionSummaryOrBuilder getExecutionSummariesOrBuilder(int index)
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;getExecutionSummariesOrBuilder in interface SelectResponseOrBuilderpublic boolean hasEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 9 [(.gogoproto.nullable) = false];hasEncodeType in interface SelectResponseOrBuilderpublic EncodeType getEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 9 [(.gogoproto.nullable) = false];getEncodeType in interface SelectResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SelectResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SelectResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SelectResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SelectResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SelectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SelectResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SelectResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static SelectResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SelectResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SelectResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SelectResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SelectResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SelectResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SelectResponse.Builder newBuilder()
public static SelectResponse.Builder newBuilder(SelectResponse prototype)
public SelectResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SelectResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SelectResponse getDefaultInstance()
public static com.google.protobuf.Parser<SelectResponse> parser()
public com.google.protobuf.Parser<SelectResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SelectResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.