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, 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 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.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 hasTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false];
hasTp
in interface ExprOrBuilder
public ExprType getTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false];
getTp
in interface ExprOrBuilder
public boolean hasVal()
optional bytes val = 2;
hasVal
in interface ExprOrBuilder
public com.google.protobuf.ByteString getVal()
optional bytes val = 2;
getVal
in interface ExprOrBuilder
public List<Expr> getChildrenList()
repeated .tipb.Expr children = 3;
getChildrenList
in interface ExprOrBuilder
public List<? extends ExprOrBuilder> getChildrenOrBuilderList()
repeated .tipb.Expr children = 3;
getChildrenOrBuilderList
in interface ExprOrBuilder
public int getChildrenCount()
repeated .tipb.Expr children = 3;
getChildrenCount
in interface ExprOrBuilder
public Expr getChildren(int index)
repeated .tipb.Expr children = 3;
getChildren
in interface ExprOrBuilder
public ExprOrBuilder getChildrenOrBuilder(int index)
repeated .tipb.Expr children = 3;
getChildrenOrBuilder
in interface ExprOrBuilder
public boolean hasRpnArgsLen()
optional uint32 rpn_args_len = 6;
hasRpnArgsLen
in interface ExprOrBuilder
public int getRpnArgsLen()
optional uint32 rpn_args_len = 6;
getRpnArgsLen
in interface ExprOrBuilder
public boolean hasSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false];
hasSig
in interface ExprOrBuilder
public ScalarFuncSig getSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false];
getSig
in interface ExprOrBuilder
public boolean hasFieldType()
optional .tipb.FieldType field_type = 5;
hasFieldType
in interface ExprOrBuilder
public FieldType getFieldType()
optional .tipb.FieldType field_type = 5;
getFieldType
in interface ExprOrBuilder
public FieldTypeOrBuilder getFieldTypeOrBuilder()
optional .tipb.FieldType field_type = 5;
getFieldTypeOrBuilder
in interface ExprOrBuilder
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 Expr parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Expr parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Expr parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Expr parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Expr parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Expr parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Expr parseFrom(InputStream input) throws IOException
IOException
public static Expr parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Expr parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Expr parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Expr parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Expr parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Expr.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Expr.Builder newBuilder()
public static Expr.Builder newBuilder(Expr prototype)
public Expr.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Expr.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Expr getDefaultInstance()
public static com.google.protobuf.Parser<Expr> parser()
public com.google.protobuf.Parser<Expr> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Expr getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.