public final class DAGRequest extends com.google.protobuf.GeneratedMessageV3 implements DAGRequestOrBuilder
DAGRequest represents the request that will be handled with DAG mode.Protobuf type
tipb.DAGRequest| Modifier and Type | Class and Description |
|---|---|
static class |
DAGRequest.Builder
DAGRequest represents the request that will be handled with DAG mode.
|
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 |
CHUNK_MEMORY_LAYOUT_FIELD_NUMBER |
static int |
COLLECT_EXECUTION_SUMMARIES_FIELD_NUMBER |
static int |
COLLECT_RANGE_COUNTS_FIELD_NUMBER |
static int |
ENCODE_TYPE_FIELD_NUMBER |
static int |
EXECUTORS_FIELD_NUMBER |
static int |
FLAGS_FIELD_NUMBER |
static int |
IS_RPN_EXPR_FIELD_NUMBER |
static int |
MAX_ALLOWED_PACKET_FIELD_NUMBER |
static int |
MAX_WARNING_COUNT_FIELD_NUMBER |
static int |
OUTPUT_OFFSETS_FIELD_NUMBER |
static com.google.protobuf.Parser<DAGRequest> |
PARSER
Deprecated.
|
static int |
SQL_MODE_FIELD_NUMBER |
static int |
START_TS_FALLBACK_FIELD_NUMBER |
static int |
TIME_ZONE_NAME_FIELD_NUMBER |
static int |
TIME_ZONE_OFFSET_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ChunkMemoryLayout |
getChunkMemoryLayout()
Represents the chunk memory layout.
|
ChunkMemoryLayoutOrBuilder |
getChunkMemoryLayoutOrBuilder()
Represents the chunk memory layout.
|
boolean |
getCollectExecutionSummaries()
It represents whether or not TiKV should collect execution summaries.
|
boolean |
getCollectRangeCounts()
It represents whether we collect the detailed scan counts in each range.
|
static DAGRequest |
getDefaultInstance() |
DAGRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EncodeType |
getEncodeType()
It indicates the encode type of response.
|
Executor |
getExecutors(int index)
It represents push down Executors.
|
int |
getExecutorsCount()
It represents push down Executors.
|
List<Executor> |
getExecutorsList()
It represents push down Executors.
|
ExecutorOrBuilder |
getExecutorsOrBuilder(int index)
It represents push down Executors.
|
List<? extends ExecutorOrBuilder> |
getExecutorsOrBuilderList()
It represents push down Executors.
|
long |
getFlags()
flags are used to store flags that change the execution mode, it contains:
ignore_truncate = 1
truncate error should be ignore if set.
|
boolean |
getIsRpnExpr()
Represents whether the expression use RPN form.
|
long |
getMaxAllowedPacket()
Represents the maximum size of one packet, any generated string, or any parameter sent as long data.
|
long |
getMaxWarningCount()
It indicates the maximum number of warning,
which is the number of messages that SHOW WARNINGS displays.
|
int |
getOutputOffsets(int index)
It represents which columns we should output.
|
int |
getOutputOffsetsCount()
It represents which columns we should output.
|
List<Integer> |
getOutputOffsetsList()
It represents which columns we should output.
|
com.google.protobuf.Parser<DAGRequest> |
getParserForType() |
int |
getSerializedSize() |
long |
getSqlMode()
It indicates the sql_mode.
|
long |
getStartTsFallback()
Transaction start timestamp.
|
String |
getTimeZoneName()
supply offset is not enough since we have daylight saving time present in some regions
|
com.google.protobuf.ByteString |
getTimeZoneNameBytes()
supply offset is not enough since we have daylight saving time present in some regions
|
long |
getTimeZoneOffset()
time zone offset in seconds
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
UserIdentity |
getUser()
UserIdentity uses to do privilege check.
|
UserIdentityOrBuilder |
getUserOrBuilder()
UserIdentity uses to do privilege check.
|
boolean |
hasChunkMemoryLayout()
Represents the chunk memory layout.
|
boolean |
hasCollectExecutionSummaries()
It represents whether or not TiKV should collect execution summaries.
|
boolean |
hasCollectRangeCounts()
It represents whether we collect the detailed scan counts in each range.
|
boolean |
hasEncodeType()
It indicates the encode type of response.
|
boolean |
hasFlags()
flags are used to store flags that change the execution mode, it contains:
ignore_truncate = 1
truncate error should be ignore if set.
|
int |
hashCode() |
boolean |
hasIsRpnExpr()
Represents whether the expression use RPN form.
|
boolean |
hasMaxAllowedPacket()
Represents the maximum size of one packet, any generated string, or any parameter sent as long data.
|
boolean |
hasMaxWarningCount()
It indicates the maximum number of warning,
which is the number of messages that SHOW WARNINGS displays.
|
boolean |
hasSqlMode()
It indicates the sql_mode.
|
boolean |
hasStartTsFallback()
Transaction start timestamp.
|
boolean |
hasTimeZoneName()
supply offset is not enough since we have daylight saving time present in some regions
|
boolean |
hasTimeZoneOffset()
time zone offset in seconds
|
boolean |
hasUser()
UserIdentity uses to do privilege check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DAGRequest.Builder |
newBuilder() |
static DAGRequest.Builder |
newBuilder(DAGRequest prototype) |
DAGRequest.Builder |
newBuilderForType() |
protected DAGRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DAGRequest |
parseDelimitedFrom(InputStream input) |
static DAGRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGRequest |
parseFrom(byte[] data) |
static DAGRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGRequest |
parseFrom(ByteBuffer data) |
static DAGRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGRequest |
parseFrom(com.google.protobuf.ByteString data) |
static DAGRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DAGRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DAGRequest |
parseFrom(InputStream input) |
static DAGRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DAGRequest> |
parser() |
DAGRequest.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 START_TS_FALLBACK_FIELD_NUMBER
public static final int EXECUTORS_FIELD_NUMBER
public static final int TIME_ZONE_OFFSET_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER
public static final int OUTPUT_OFFSETS_FIELD_NUMBER
public static final int COLLECT_RANGE_COUNTS_FIELD_NUMBER
public static final int MAX_WARNING_COUNT_FIELD_NUMBER
public static final int ENCODE_TYPE_FIELD_NUMBER
public static final int SQL_MODE_FIELD_NUMBER
public static final int TIME_ZONE_NAME_FIELD_NUMBER
public static final int COLLECT_EXECUTION_SUMMARIES_FIELD_NUMBER
public static final int MAX_ALLOWED_PACKET_FIELD_NUMBER
public static final int CHUNK_MEMORY_LAYOUT_FIELD_NUMBER
public static final int IS_RPN_EXPR_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<DAGRequest> 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 hasStartTsFallback()
Transaction start timestamp. Deprecated. Start Ts has been moved to coprocessor.Request.
optional uint64 start_ts_fallback = 1;hasStartTsFallback in interface DAGRequestOrBuilderpublic long getStartTsFallback()
Transaction start timestamp. Deprecated. Start Ts has been moved to coprocessor.Request.
optional uint64 start_ts_fallback = 1;getStartTsFallback in interface DAGRequestOrBuilderpublic List<Executor> getExecutorsList()
It represents push down Executors.
repeated .tipb.Executor executors = 2;getExecutorsList in interface DAGRequestOrBuilderpublic List<? extends ExecutorOrBuilder> getExecutorsOrBuilderList()
It represents push down Executors.
repeated .tipb.Executor executors = 2;getExecutorsOrBuilderList in interface DAGRequestOrBuilderpublic int getExecutorsCount()
It represents push down Executors.
repeated .tipb.Executor executors = 2;getExecutorsCount in interface DAGRequestOrBuilderpublic Executor getExecutors(int index)
It represents push down Executors.
repeated .tipb.Executor executors = 2;getExecutors in interface DAGRequestOrBuilderpublic ExecutorOrBuilder getExecutorsOrBuilder(int index)
It represents push down Executors.
repeated .tipb.Executor executors = 2;getExecutorsOrBuilder in interface DAGRequestOrBuilderpublic boolean hasTimeZoneOffset()
time zone offset in seconds
optional int64 time_zone_offset = 3 [(.gogoproto.nullable) = false];hasTimeZoneOffset in interface DAGRequestOrBuilderpublic long getTimeZoneOffset()
time zone offset in seconds
optional int64 time_zone_offset = 3 [(.gogoproto.nullable) = false];getTimeZoneOffset in interface DAGRequestOrBuilderpublic boolean hasFlags()
flags are used to store flags that change the execution mode, it contains:
ignore_truncate = 1
truncate error should be ignore if set.
truncate_as_warning = 1 << 1
when ignored_truncate is not set, return warning instead of error if this flag is set.
...
add more when needed.
optional uint64 flags = 4 [(.gogoproto.nullable) = false];hasFlags in interface DAGRequestOrBuilderpublic long getFlags()
flags are used to store flags that change the execution mode, it contains:
ignore_truncate = 1
truncate error should be ignore if set.
truncate_as_warning = 1 << 1
when ignored_truncate is not set, return warning instead of error if this flag is set.
...
add more when needed.
optional uint64 flags = 4 [(.gogoproto.nullable) = false];getFlags in interface DAGRequestOrBuilderpublic List<Integer> getOutputOffsetsList()
It represents which columns we should output.
repeated uint32 output_offsets = 5;getOutputOffsetsList in interface DAGRequestOrBuilderpublic int getOutputOffsetsCount()
It represents which columns we should output.
repeated uint32 output_offsets = 5;getOutputOffsetsCount in interface DAGRequestOrBuilderpublic int getOutputOffsets(int index)
It represents which columns we should output.
repeated uint32 output_offsets = 5;getOutputOffsets in interface DAGRequestOrBuilderindex - The index of the element to return.public boolean hasCollectRangeCounts()
It represents whether we collect the detailed scan counts in each range.
optional bool collect_range_counts = 6;hasCollectRangeCounts in interface DAGRequestOrBuilderpublic boolean getCollectRangeCounts()
It represents whether we collect the detailed scan counts in each range.
optional bool collect_range_counts = 6;getCollectRangeCounts in interface DAGRequestOrBuilderpublic boolean hasMaxWarningCount()
It indicates the maximum number of warning, which is the number of messages that SHOW WARNINGS displays.
optional uint64 max_warning_count = 7;hasMaxWarningCount in interface DAGRequestOrBuilderpublic long getMaxWarningCount()
It indicates the maximum number of warning, which is the number of messages that SHOW WARNINGS displays.
optional uint64 max_warning_count = 7;getMaxWarningCount in interface DAGRequestOrBuilderpublic boolean hasEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 8 [(.gogoproto.nullable) = false];hasEncodeType in interface DAGRequestOrBuilderpublic EncodeType getEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 8 [(.gogoproto.nullable) = false];getEncodeType in interface DAGRequestOrBuilderpublic boolean hasSqlMode()
It indicates the sql_mode.
optional uint64 sql_mode = 9;hasSqlMode in interface DAGRequestOrBuilderpublic long getSqlMode()
It indicates the sql_mode.
optional uint64 sql_mode = 9;getSqlMode in interface DAGRequestOrBuilderpublic boolean hasTimeZoneName()
supply offset is not enough since we have daylight saving time present in some regions
optional string time_zone_name = 11 [(.gogoproto.nullable) = false];hasTimeZoneName in interface DAGRequestOrBuilderpublic String getTimeZoneName()
supply offset is not enough since we have daylight saving time present in some regions
optional string time_zone_name = 11 [(.gogoproto.nullable) = false];getTimeZoneName in interface DAGRequestOrBuilderpublic com.google.protobuf.ByteString getTimeZoneNameBytes()
supply offset is not enough since we have daylight saving time present in some regions
optional string time_zone_name = 11 [(.gogoproto.nullable) = false];getTimeZoneNameBytes in interface DAGRequestOrBuilderpublic boolean hasCollectExecutionSummaries()
It represents whether or not TiKV should collect execution summaries. Execution summaries will be collected into `execution_summaries` field in the response.
optional bool collect_execution_summaries = 12;hasCollectExecutionSummaries in interface DAGRequestOrBuilderpublic boolean getCollectExecutionSummaries()
It represents whether or not TiKV should collect execution summaries. Execution summaries will be collected into `execution_summaries` field in the response.
optional bool collect_execution_summaries = 12;getCollectExecutionSummaries in interface DAGRequestOrBuilderpublic boolean hasMaxAllowedPacket()
Represents the maximum size of one packet, any generated string, or any parameter sent as long data.
optional uint64 max_allowed_packet = 13;hasMaxAllowedPacket in interface DAGRequestOrBuilderpublic long getMaxAllowedPacket()
Represents the maximum size of one packet, any generated string, or any parameter sent as long data.
optional uint64 max_allowed_packet = 13;getMaxAllowedPacket in interface DAGRequestOrBuilderpublic boolean hasChunkMemoryLayout()
Represents the chunk memory layout.
optional .tipb.ChunkMemoryLayout chunk_memory_layout = 14;hasChunkMemoryLayout in interface DAGRequestOrBuilderpublic ChunkMemoryLayout getChunkMemoryLayout()
Represents the chunk memory layout.
optional .tipb.ChunkMemoryLayout chunk_memory_layout = 14;getChunkMemoryLayout in interface DAGRequestOrBuilderpublic ChunkMemoryLayoutOrBuilder getChunkMemoryLayoutOrBuilder()
Represents the chunk memory layout.
optional .tipb.ChunkMemoryLayout chunk_memory_layout = 14;getChunkMemoryLayoutOrBuilder in interface DAGRequestOrBuilderpublic boolean hasIsRpnExpr()
Represents whether the expression use RPN form.
optional bool is_rpn_expr = 15;hasIsRpnExpr in interface DAGRequestOrBuilderpublic boolean getIsRpnExpr()
Represents whether the expression use RPN form.
optional bool is_rpn_expr = 15;getIsRpnExpr in interface DAGRequestOrBuilderpublic boolean hasUser()
UserIdentity uses to do privilege check. It is only used in TiDB cluster memory table.
optional .tipb.UserIdentity user = 16;hasUser in interface DAGRequestOrBuilderpublic UserIdentity getUser()
UserIdentity uses to do privilege check. It is only used in TiDB cluster memory table.
optional .tipb.UserIdentity user = 16;getUser in interface DAGRequestOrBuilderpublic UserIdentityOrBuilder getUserOrBuilder()
UserIdentity uses to do privilege check. It is only used in TiDB cluster memory table.
optional .tipb.UserIdentity user = 16;getUserOrBuilder in interface DAGRequestOrBuilderpublic 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 DAGRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DAGRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static DAGRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DAGRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DAGRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DAGRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DAGRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DAGRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DAGRequest.Builder newBuilder()
public static DAGRequest.Builder newBuilder(DAGRequest prototype)
public DAGRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DAGRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DAGRequest getDefaultInstance()
public static com.google.protobuf.Parser<DAGRequest> parser()
public com.google.protobuf.Parser<DAGRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DAGRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.