public static final class Expr.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder> implements ExprOrBuilder
Evaluators should implement evaluation functions for every expression type.Protobuf type
tipb.Expr
Modifier and Type | Method and Description |
---|---|
Expr.Builder |
addAllChildren(Iterable<? extends Expr> values)
repeated .tipb.Expr children = 3; |
Expr.Builder |
addChildren(Expr.Builder builderForValue)
repeated .tipb.Expr children = 3; |
Expr.Builder |
addChildren(Expr value)
repeated .tipb.Expr children = 3; |
Expr.Builder |
addChildren(int index,
Expr.Builder builderForValue)
repeated .tipb.Expr children = 3; |
Expr.Builder |
addChildren(int index,
Expr value)
repeated .tipb.Expr children = 3; |
Expr.Builder |
addChildrenBuilder()
repeated .tipb.Expr children = 3; |
Expr.Builder |
addChildrenBuilder(int index)
repeated .tipb.Expr children = 3; |
Expr.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Expr |
build() |
Expr |
buildPartial() |
Expr.Builder |
clear() |
Expr.Builder |
clearChildren()
repeated .tipb.Expr children = 3; |
Expr.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Expr.Builder |
clearFieldType()
optional .tipb.FieldType field_type = 5; |
Expr.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Expr.Builder |
clearRpnArgsLen()
optional uint32 rpn_args_len = 6; |
Expr.Builder |
clearSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false]; |
Expr.Builder |
clearTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false]; |
Expr.Builder |
clearVal()
optional bytes val = 2; |
Expr.Builder |
clone() |
Expr |
getChildren(int index)
repeated .tipb.Expr children = 3; |
Expr.Builder |
getChildrenBuilder(int index)
repeated .tipb.Expr children = 3; |
List<Expr.Builder> |
getChildrenBuilderList()
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; |
Expr |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
FieldType |
getFieldType()
optional .tipb.FieldType field_type = 5; |
FieldType.Builder |
getFieldTypeBuilder()
optional .tipb.FieldType field_type = 5; |
FieldTypeOrBuilder |
getFieldTypeOrBuilder()
optional .tipb.FieldType field_type = 5; |
int |
getRpnArgsLen()
optional uint32 rpn_args_len = 6; |
ScalarFuncSig |
getSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false]; |
ExprType |
getTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false]; |
com.google.protobuf.ByteString |
getVal()
optional bytes val = 2; |
boolean |
hasFieldType()
optional .tipb.FieldType field_type = 5; |
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() |
Expr.Builder |
mergeFieldType(FieldType value)
optional .tipb.FieldType field_type = 5; |
Expr.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Expr.Builder |
mergeFrom(Expr other) |
Expr.Builder |
mergeFrom(com.google.protobuf.Message other) |
Expr.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Expr.Builder |
removeChildren(int index)
repeated .tipb.Expr children = 3; |
Expr.Builder |
setChildren(int index,
Expr.Builder builderForValue)
repeated .tipb.Expr children = 3; |
Expr.Builder |
setChildren(int index,
Expr value)
repeated .tipb.Expr children = 3; |
Expr.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Expr.Builder |
setFieldType(FieldType.Builder builderForValue)
optional .tipb.FieldType field_type = 5; |
Expr.Builder |
setFieldType(FieldType value)
optional .tipb.FieldType field_type = 5; |
Expr.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Expr.Builder |
setRpnArgsLen(int value)
optional uint32 rpn_args_len = 6; |
Expr.Builder |
setSig(ScalarFuncSig value)
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false]; |
Expr.Builder |
setTp(ExprType value)
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false]; |
Expr.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Expr.Builder |
setVal(com.google.protobuf.ByteString value)
optional bytes val = 2; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Expr build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Expr buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Expr.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Expr.Builder>
public Expr.Builder mergeFrom(Expr other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public Expr.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Expr.Builder>
IOException
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 Expr.Builder setTp(ExprType value)
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false];
value
- The tp to set.public Expr.Builder clearTp()
optional .tipb.ExprType tp = 1 [(.gogoproto.nullable) = false];
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 Expr.Builder setVal(com.google.protobuf.ByteString value)
optional bytes val = 2;
value
- The val to set.public Expr.Builder clearVal()
optional bytes val = 2;
public List<Expr> getChildrenList()
repeated .tipb.Expr children = 3;
getChildrenList
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 Expr.Builder setChildren(int index, Expr value)
repeated .tipb.Expr children = 3;
public Expr.Builder setChildren(int index, Expr.Builder builderForValue)
repeated .tipb.Expr children = 3;
public Expr.Builder addChildren(Expr value)
repeated .tipb.Expr children = 3;
public Expr.Builder addChildren(int index, Expr value)
repeated .tipb.Expr children = 3;
public Expr.Builder addChildren(Expr.Builder builderForValue)
repeated .tipb.Expr children = 3;
public Expr.Builder addChildren(int index, Expr.Builder builderForValue)
repeated .tipb.Expr children = 3;
public Expr.Builder addAllChildren(Iterable<? extends Expr> values)
repeated .tipb.Expr children = 3;
public Expr.Builder clearChildren()
repeated .tipb.Expr children = 3;
public Expr.Builder removeChildren(int index)
repeated .tipb.Expr children = 3;
public Expr.Builder getChildrenBuilder(int index)
repeated .tipb.Expr children = 3;
public ExprOrBuilder getChildrenOrBuilder(int index)
repeated .tipb.Expr children = 3;
getChildrenOrBuilder
in interface ExprOrBuilder
public List<? extends ExprOrBuilder> getChildrenOrBuilderList()
repeated .tipb.Expr children = 3;
getChildrenOrBuilderList
in interface ExprOrBuilder
public Expr.Builder addChildrenBuilder()
repeated .tipb.Expr children = 3;
public Expr.Builder addChildrenBuilder(int index)
repeated .tipb.Expr children = 3;
public List<Expr.Builder> getChildrenBuilderList()
repeated .tipb.Expr children = 3;
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 Expr.Builder setRpnArgsLen(int value)
optional uint32 rpn_args_len = 6;
value
- The rpnArgsLen to set.public Expr.Builder clearRpnArgsLen()
optional uint32 rpn_args_len = 6;
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 Expr.Builder setSig(ScalarFuncSig value)
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false];
value
- The sig to set.public Expr.Builder clearSig()
optional .tipb.ScalarFuncSig sig = 4 [(.gogoproto.nullable) = false];
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 Expr.Builder setFieldType(FieldType value)
optional .tipb.FieldType field_type = 5;
public Expr.Builder setFieldType(FieldType.Builder builderForValue)
optional .tipb.FieldType field_type = 5;
public Expr.Builder mergeFieldType(FieldType value)
optional .tipb.FieldType field_type = 5;
public Expr.Builder clearFieldType()
optional .tipb.FieldType field_type = 5;
public FieldType.Builder getFieldTypeBuilder()
optional .tipb.FieldType field_type = 5;
public FieldTypeOrBuilder getFieldTypeOrBuilder()
optional .tipb.FieldType field_type = 5;
getFieldTypeOrBuilder
in interface ExprOrBuilder
public final Expr.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
public final Expr.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Expr.Builder>
Copyright © 2024 PingCAP. All rights reserved.