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, 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 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.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 hasStartTsFallback()
Transaction start timestamp. Deprecated. Start Ts has been moved to coprocessor.Request.
optional uint64 start_ts_fallback = 1;
hasStartTsFallback
in interface DAGRequestOrBuilder
public long getStartTsFallback()
Transaction start timestamp. Deprecated. Start Ts has been moved to coprocessor.Request.
optional uint64 start_ts_fallback = 1;
getStartTsFallback
in interface DAGRequestOrBuilder
public List<Executor> getExecutorsList()
It represents push down Executors.
repeated .tipb.Executor executors = 2;
getExecutorsList
in interface DAGRequestOrBuilder
public List<? extends ExecutorOrBuilder> getExecutorsOrBuilderList()
It represents push down Executors.
repeated .tipb.Executor executors = 2;
getExecutorsOrBuilderList
in interface DAGRequestOrBuilder
public int getExecutorsCount()
It represents push down Executors.
repeated .tipb.Executor executors = 2;
getExecutorsCount
in interface DAGRequestOrBuilder
public Executor getExecutors(int index)
It represents push down Executors.
repeated .tipb.Executor executors = 2;
getExecutors
in interface DAGRequestOrBuilder
public ExecutorOrBuilder getExecutorsOrBuilder(int index)
It represents push down Executors.
repeated .tipb.Executor executors = 2;
getExecutorsOrBuilder
in interface DAGRequestOrBuilder
public boolean hasTimeZoneOffset()
time zone offset in seconds
optional int64 time_zone_offset = 3 [(.gogoproto.nullable) = false];
hasTimeZoneOffset
in interface DAGRequestOrBuilder
public long getTimeZoneOffset()
time zone offset in seconds
optional int64 time_zone_offset = 3 [(.gogoproto.nullable) = false];
getTimeZoneOffset
in interface DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public List<Integer> getOutputOffsetsList()
It represents which columns we should output.
repeated uint32 output_offsets = 5;
getOutputOffsetsList
in interface DAGRequestOrBuilder
public int getOutputOffsetsCount()
It represents which columns we should output.
repeated uint32 output_offsets = 5;
getOutputOffsetsCount
in interface DAGRequestOrBuilder
public int getOutputOffsets(int index)
It represents which columns we should output.
repeated uint32 output_offsets = 5;
getOutputOffsets
in interface DAGRequestOrBuilder
index
- 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 DAGRequestOrBuilder
public boolean getCollectRangeCounts()
It represents whether we collect the detailed scan counts in each range.
optional bool collect_range_counts = 6;
getCollectRangeCounts
in interface DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public boolean hasEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 8 [(.gogoproto.nullable) = false];
hasEncodeType
in interface DAGRequestOrBuilder
public EncodeType getEncodeType()
It indicates the encode type of response.
optional .tipb.EncodeType encode_type = 8 [(.gogoproto.nullable) = false];
getEncodeType
in interface DAGRequestOrBuilder
public boolean hasSqlMode()
It indicates the sql_mode.
optional uint64 sql_mode = 9;
hasSqlMode
in interface DAGRequestOrBuilder
public long getSqlMode()
It indicates the sql_mode.
optional uint64 sql_mode = 9;
getSqlMode
in interface DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public boolean hasChunkMemoryLayout()
Represents the chunk memory layout.
optional .tipb.ChunkMemoryLayout chunk_memory_layout = 14;
hasChunkMemoryLayout
in interface DAGRequestOrBuilder
public ChunkMemoryLayout getChunkMemoryLayout()
Represents the chunk memory layout.
optional .tipb.ChunkMemoryLayout chunk_memory_layout = 14;
getChunkMemoryLayout
in interface DAGRequestOrBuilder
public ChunkMemoryLayoutOrBuilder getChunkMemoryLayoutOrBuilder()
Represents the chunk memory layout.
optional .tipb.ChunkMemoryLayout chunk_memory_layout = 14;
getChunkMemoryLayoutOrBuilder
in interface DAGRequestOrBuilder
public boolean hasIsRpnExpr()
Represents whether the expression use RPN form.
optional bool is_rpn_expr = 15;
hasIsRpnExpr
in interface DAGRequestOrBuilder
public boolean getIsRpnExpr()
Represents whether the expression use RPN form.
optional bool is_rpn_expr = 15;
getIsRpnExpr
in interface DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
public 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 DAGRequestOrBuilder
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 DAGRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DAGRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DAGRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DAGRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DAGRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DAGRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DAGRequest parseFrom(InputStream input) throws IOException
IOException
public static DAGRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DAGRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DAGRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DAGRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DAGRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DAGRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static DAGRequest.Builder newBuilder()
public static DAGRequest.Builder newBuilder(DAGRequest prototype)
public DAGRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DAGRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static DAGRequest getDefaultInstance()
public static com.google.protobuf.Parser<DAGRequest> parser()
public com.google.protobuf.Parser<DAGRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public DAGRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.