public final class Expr extends com.google.protobuf.GeneratedMessageV3 implements ExprOrBuilder
Evaluators should implement evaluation functions for every expression type.Protobuf type
tipb.Expr| Modifier and Type | Class and Description |
|---|---|
static class |
Expr.Builder
Evaluators should implement evaluation functions for every expression type.
|
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 |
CHILDREN_FIELD_NUMBER |
static int |
FIELD_TYPE_FIELD_NUMBER |
static com.google.protobuf.Parser<Expr> |
PARSER
Deprecated.
|
static int |
RPN_ARGS_LEN_FIELD_NUMBER |
static int |
SIG_FIELD_NUMBER |
static int |
TP_FIELD_NUMBER |
static int |
VAL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Expr |
getChildren(int index)
repeated .tipb.Expr children = 3; |
int |
getChildrenCount()
repeated .tipb.Expr children = 3; |
List<Expr> |
getChildrenList()
repeated .tipb.Expr children = 3; |
ExprOrBuilder |
getChildrenOrBuilder(int index)
repeated .tipb.Expr children = 3; |
List<? extends ExprOrBuilder> |
getChildrenOrBuilderList()
repeated .tipb.Expr children = 3; |
static Expr |
getDefaultInstance() |
Expr |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FieldType |
getFieldType()
optional .tipb.FieldType field_type = 5; |
FieldTypeOrBuilder |
getFieldTypeOrBuilder()
optional .tipb.FieldType field_type = 5; |
com.google.protobuf.Parser<Expr> |
getParserForType() |
int |
getRpnArgsLen()
optional uint32 rpn_args_len = 6; |
int |
getSerializedSize() |
ScalarFuncSig |
getSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false]; |
ExprType |
getTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getVal()
optional bytes val = 2; |
boolean |
hasFieldType()
optional .tipb.FieldType field_type = 5; |
int |
hashCode() |
boolean |
hasRpnArgsLen()
optional uint32 rpn_args_len = 6; |
boolean |
hasSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false]; |
boolean |
hasTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasVal()
optional bytes val = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Expr.Builder |
newBuilder() |
static Expr.Builder |
newBuilder(Expr prototype) |
Expr.Builder |
newBuilderForType() |
protected Expr.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Expr |
parseDelimitedFrom(InputStream input) |
static Expr |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(byte[] data) |
static Expr |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(ByteBuffer data) |
static Expr |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(com.google.protobuf.ByteString data) |
static Expr |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Expr |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Expr |
parseFrom(InputStream input) |
static Expr |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Expr> |
parser() |
Expr.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 TP_FIELD_NUMBER
public static final int VAL_FIELD_NUMBER
public static final int CHILDREN_FIELD_NUMBER
public static final int RPN_ARGS_LEN_FIELD_NUMBER
public static final int SIG_FIELD_NUMBER
public static final int FIELD_TYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Expr> 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 hasTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false];hasTp in interface ExprOrBuilderpublic ExprType getTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false];getTp in interface ExprOrBuilderpublic boolean hasVal()
optional bytes val = 2;hasVal in interface ExprOrBuilderpublic com.google.protobuf.ByteString getVal()
optional bytes val = 2;getVal in interface ExprOrBuilderpublic List<Expr> getChildrenList()
repeated .tipb.Expr children = 3;getChildrenList in interface ExprOrBuilderpublic List<? extends ExprOrBuilder> getChildrenOrBuilderList()
repeated .tipb.Expr children = 3;getChildrenOrBuilderList in interface ExprOrBuilderpublic int getChildrenCount()
repeated .tipb.Expr children = 3;getChildrenCount in interface ExprOrBuilderpublic Expr getChildren(int index)
repeated .tipb.Expr children = 3;getChildren in interface ExprOrBuilderpublic ExprOrBuilder getChildrenOrBuilder(int index)
repeated .tipb.Expr children = 3;getChildrenOrBuilder in interface ExprOrBuilderpublic boolean hasRpnArgsLen()
optional uint32 rpn_args_len = 6;hasRpnArgsLen in interface ExprOrBuilderpublic int getRpnArgsLen()
optional uint32 rpn_args_len = 6;getRpnArgsLen in interface ExprOrBuilderpublic boolean hasSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false];hasSig in interface ExprOrBuilderpublic ScalarFuncSig getSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false];getSig in interface ExprOrBuilderpublic boolean hasFieldType()
optional .tipb.FieldType field_type = 5;hasFieldType in interface ExprOrBuilderpublic FieldType getFieldType()
optional .tipb.FieldType field_type = 5;getFieldType in interface ExprOrBuilderpublic FieldTypeOrBuilder getFieldTypeOrBuilder()
optional .tipb.FieldType field_type = 5;getFieldTypeOrBuilder in interface ExprOrBuilderpublic 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 Expr parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Expr parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Expr parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Expr parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Expr parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Expr parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Expr parseFrom(InputStream input) throws IOException
IOExceptionpublic static Expr parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Expr parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Expr parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Expr parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Expr parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Expr.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Expr.Builder newBuilder()
public static Expr.Builder newBuilder(Expr prototype)
public Expr.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Expr.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Expr getDefaultInstance()
public static com.google.protobuf.Parser<Expr> parser()
public com.google.protobuf.Parser<Expr> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Expr getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.