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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasError()
optional .tipb.Error error = 1;
hasError
in interface SelectResponseOrBuilder
public Error getError()
optional .tipb.Error error = 1;
getError
in interface SelectResponseOrBuilder
public ErrorOrBuilder getErrorOrBuilder()
optional .tipb.Error error = 1;
getErrorOrBuilder
in interface SelectResponseOrBuilder
public List<Row> getRowsList()
Result rows.
repeated .tipb.Row rows = 2;
getRowsList
in interface SelectResponseOrBuilder
public List<? extends RowOrBuilder> getRowsOrBuilderList()
Result rows.
repeated .tipb.Row rows = 2;
getRowsOrBuilderList
in interface SelectResponseOrBuilder
public int getRowsCount()
Result rows.
repeated .tipb.Row rows = 2;
getRowsCount
in interface SelectResponseOrBuilder
public Row getRows(int index)
Result rows.
repeated .tipb.Row rows = 2;
getRows
in interface SelectResponseOrBuilder
public RowOrBuilder getRowsOrBuilder(int index)
Result rows.
repeated .tipb.Row rows = 2;
getRowsOrBuilder
in interface SelectResponseOrBuilder
public 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 SelectResponseOrBuilder
public 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 SelectResponseOrBuilder
public 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 SelectResponseOrBuilder
public 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 SelectResponseOrBuilder
public 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 SelectResponseOrBuilder
public List<Error> getWarningsList()
repeated .tipb.Error warnings = 4;
getWarningsList
in interface SelectResponseOrBuilder
public List<? extends ErrorOrBuilder> getWarningsOrBuilderList()
repeated .tipb.Error warnings = 4;
getWarningsOrBuilderList
in interface SelectResponseOrBuilder
public int getWarningsCount()
repeated .tipb.Error warnings = 4;
getWarningsCount
in interface SelectResponseOrBuilder
public Error getWarnings(int index)
repeated .tipb.Error warnings = 4;
getWarnings
in interface SelectResponseOrBuilder
public ErrorOrBuilder getWarningsOrBuilder(int index)
repeated .tipb.Error warnings = 4;
getWarningsOrBuilder
in interface SelectResponseOrBuilder
public List<Long> getOutputCountsList()
repeated int64 output_counts = 5;
getOutputCountsList
in interface SelectResponseOrBuilder
public int getOutputCountsCount()
repeated int64 output_counts = 5;
getOutputCountsCount
in interface SelectResponseOrBuilder
public long getOutputCounts(int index)
repeated int64 output_counts = 5;
getOutputCounts
in interface SelectResponseOrBuilder
index
- The index of the element to return.public boolean hasWarningCount()
optional int64 warning_count = 6;
hasWarningCount
in interface SelectResponseOrBuilder
public long getWarningCount()
optional int64 warning_count = 6;
getWarningCount
in interface SelectResponseOrBuilder
public List<ExecutorExecutionSummary> getExecutionSummariesList()
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;
getExecutionSummariesList
in interface SelectResponseOrBuilder
public List<? extends ExecutorExecutionSummaryOrBuilder> getExecutionSummariesOrBuilderList()
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;
getExecutionSummariesOrBuilderList
in interface SelectResponseOrBuilder
public int getExecutionSummariesCount()
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;
getExecutionSummariesCount
in interface SelectResponseOrBuilder
public ExecutorExecutionSummary getExecutionSummaries(int index)
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;
getExecutionSummaries
in interface SelectResponseOrBuilder
public ExecutorExecutionSummaryOrBuilder getExecutionSummariesOrBuilder(int index)
The execution summary of each executor, in the order in request.
repeated .tipb.ExecutorExecutionSummary execution_summaries = 8;
getExecutionSummariesOrBuilder
in interface SelectResponseOrBuilder
public boolean hasEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 9 [(.gogoproto.nullable) = false];
hasEncodeType
in interface SelectResponseOrBuilder
public EncodeType getEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 9 [(.gogoproto.nullable) = false];
getEncodeType
in interface SelectResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static SelectResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SelectResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SelectResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SelectResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SelectResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SelectResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SelectResponse parseFrom(InputStream input) throws IOException
IOException
public static SelectResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SelectResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SelectResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SelectResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SelectResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SelectResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SelectResponse.Builder newBuilder()
public static SelectResponse.Builder newBuilder(SelectResponse prototype)
public SelectResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected SelectResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static SelectResponse getDefaultInstance()
public static com.google.protobuf.Parser<SelectResponse> parser()
public com.google.protobuf.Parser<SelectResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SelectResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.