public static final class MysqlxExpr.Expr extends com.google.protobuf.GeneratedMessageV3 implements MysqlxExpr.ExprOrBuilder
The "root" of the expression tree.
If expression type is PLACEHOLDER, then it refers to the value
of a parameter specified when executing a statement (see args
field of StmtExecute command). Field position (which must be
present for such an expression) gives 0-based position of the
parameter in the parameter list.
@par production list
@code{unparsed}
expr: operator |
: identifier |
: function_call |
: variable |
: literal |
: object |
: array |
: placeholder
@endcode
Protobuf type Mysqlx.Expr.Expr| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlxExpr.Expr.Builder
The "root" of the expression tree.
|
static class |
MysqlxExpr.Expr.Type
Protobuf enum
Mysqlx.Expr.Expr.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 |
ARRAY_FIELD_NUMBER |
static int |
FUNCTION_CALL_FIELD_NUMBER |
static int |
IDENTIFIER_FIELD_NUMBER |
static int |
LITERAL_FIELD_NUMBER |
static int |
OBJECT_FIELD_NUMBER |
static int |
OPERATOR_FIELD_NUMBER |
static com.google.protobuf.Parser<MysqlxExpr.Expr> |
PARSER
Deprecated.
|
static int |
POSITION_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VARIABLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
MysqlxExpr.Array |
getArray()
optional .Mysqlx.Expr.Array array = 9; |
MysqlxExpr.ArrayOrBuilder |
getArrayOrBuilder()
optional .Mysqlx.Expr.Array array = 9; |
static MysqlxExpr.Expr |
getDefaultInstance() |
MysqlxExpr.Expr |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
MysqlxExpr.FunctionCall |
getFunctionCall()
optional .Mysqlx.Expr.FunctionCall function_call = 5; |
MysqlxExpr.FunctionCallOrBuilder |
getFunctionCallOrBuilder()
optional .Mysqlx.Expr.FunctionCall function_call = 5; |
MysqlxExpr.ColumnIdentifier |
getIdentifier()
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2; |
MysqlxExpr.ColumnIdentifierOrBuilder |
getIdentifierOrBuilder()
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2; |
MysqlxDatatypes.Scalar |
getLiteral()
optional .Mysqlx.Datatypes.Scalar literal = 4; |
MysqlxDatatypes.ScalarOrBuilder |
getLiteralOrBuilder()
optional .Mysqlx.Datatypes.Scalar literal = 4; |
MysqlxExpr.Object |
getObject()
optional .Mysqlx.Expr.Object object = 8; |
MysqlxExpr.ObjectOrBuilder |
getObjectOrBuilder()
optional .Mysqlx.Expr.Object object = 8; |
MysqlxExpr.Operator |
getOperator()
optional .Mysqlx.Expr.Operator operator = 6; |
MysqlxExpr.OperatorOrBuilder |
getOperatorOrBuilder()
optional .Mysqlx.Expr.Operator operator = 6; |
com.google.protobuf.Parser<MysqlxExpr.Expr> |
getParserForType() |
int |
getPosition()
optional uint32 position = 7; |
int |
getSerializedSize() |
MysqlxExpr.Expr.Type |
getType()
required .Mysqlx.Expr.Expr.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVariable()
optional string variable = 3; |
com.google.protobuf.ByteString |
getVariableBytes()
optional string variable = 3; |
boolean |
hasArray()
optional .Mysqlx.Expr.Array array = 9; |
boolean |
hasFunctionCall()
optional .Mysqlx.Expr.FunctionCall function_call = 5; |
int |
hashCode() |
boolean |
hasIdentifier()
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2; |
boolean |
hasLiteral()
optional .Mysqlx.Datatypes.Scalar literal = 4; |
boolean |
hasObject()
optional .Mysqlx.Expr.Object object = 8; |
boolean |
hasOperator()
optional .Mysqlx.Expr.Operator operator = 6; |
boolean |
hasPosition()
optional uint32 position = 7; |
boolean |
hasType()
required .Mysqlx.Expr.Expr.Type type = 1; |
boolean |
hasVariable()
optional string variable = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MysqlxExpr.Expr.Builder |
newBuilder() |
static MysqlxExpr.Expr.Builder |
newBuilder(MysqlxExpr.Expr prototype) |
MysqlxExpr.Expr.Builder |
newBuilderForType() |
protected MysqlxExpr.Expr.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MysqlxExpr.Expr |
parseDelimitedFrom(java.io.InputStream input) |
static MysqlxExpr.Expr |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Expr |
parseFrom(byte[] data) |
static MysqlxExpr.Expr |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Expr |
parseFrom(java.nio.ByteBuffer data) |
static MysqlxExpr.Expr |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Expr |
parseFrom(com.google.protobuf.ByteString data) |
static MysqlxExpr.Expr |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Expr |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MysqlxExpr.Expr |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Expr |
parseFrom(java.io.InputStream input) |
static MysqlxExpr.Expr |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MysqlxExpr.Expr> |
parser() |
MysqlxExpr.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 TYPE_FIELD_NUMBER
public static final int IDENTIFIER_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER
public static final int LITERAL_FIELD_NUMBER
public static final int FUNCTION_CALL_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER
public static final int ARRAY_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<MysqlxExpr.Expr> PARSER
protected java.lang.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 hasType()
required .Mysqlx.Expr.Expr.Type type = 1;hasType in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.Expr.Type getType()
required .Mysqlx.Expr.Expr.Type type = 1;getType in interface MysqlxExpr.ExprOrBuilderpublic boolean hasIdentifier()
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2;hasIdentifier in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.ColumnIdentifier getIdentifier()
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2;getIdentifier in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.ColumnIdentifierOrBuilder getIdentifierOrBuilder()
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2;getIdentifierOrBuilder in interface MysqlxExpr.ExprOrBuilderpublic boolean hasVariable()
optional string variable = 3;hasVariable in interface MysqlxExpr.ExprOrBuilderpublic java.lang.String getVariable()
optional string variable = 3;getVariable in interface MysqlxExpr.ExprOrBuilderpublic com.google.protobuf.ByteString getVariableBytes()
optional string variable = 3;getVariableBytes in interface MysqlxExpr.ExprOrBuilderpublic boolean hasLiteral()
optional .Mysqlx.Datatypes.Scalar literal = 4;hasLiteral in interface MysqlxExpr.ExprOrBuilderpublic MysqlxDatatypes.Scalar getLiteral()
optional .Mysqlx.Datatypes.Scalar literal = 4;getLiteral in interface MysqlxExpr.ExprOrBuilderpublic MysqlxDatatypes.ScalarOrBuilder getLiteralOrBuilder()
optional .Mysqlx.Datatypes.Scalar literal = 4;getLiteralOrBuilder in interface MysqlxExpr.ExprOrBuilderpublic boolean hasFunctionCall()
optional .Mysqlx.Expr.FunctionCall function_call = 5;hasFunctionCall in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.FunctionCall getFunctionCall()
optional .Mysqlx.Expr.FunctionCall function_call = 5;getFunctionCall in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.FunctionCallOrBuilder getFunctionCallOrBuilder()
optional .Mysqlx.Expr.FunctionCall function_call = 5;getFunctionCallOrBuilder in interface MysqlxExpr.ExprOrBuilderpublic boolean hasOperator()
optional .Mysqlx.Expr.Operator operator = 6;hasOperator in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.Operator getOperator()
optional .Mysqlx.Expr.Operator operator = 6;getOperator in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.OperatorOrBuilder getOperatorOrBuilder()
optional .Mysqlx.Expr.Operator operator = 6;getOperatorOrBuilder in interface MysqlxExpr.ExprOrBuilderpublic boolean hasPosition()
optional uint32 position = 7;hasPosition in interface MysqlxExpr.ExprOrBuilderpublic int getPosition()
optional uint32 position = 7;getPosition in interface MysqlxExpr.ExprOrBuilderpublic boolean hasObject()
optional .Mysqlx.Expr.Object object = 8;hasObject in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.Object getObject()
optional .Mysqlx.Expr.Object object = 8;getObject in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.ObjectOrBuilder getObjectOrBuilder()
optional .Mysqlx.Expr.Object object = 8;getObjectOrBuilder in interface MysqlxExpr.ExprOrBuilderpublic boolean hasArray()
optional .Mysqlx.Expr.Array array = 9;hasArray in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.Array getArray()
optional .Mysqlx.Expr.Array array = 9;getArray in interface MysqlxExpr.ExprOrBuilderpublic MysqlxExpr.ArrayOrBuilder getArrayOrBuilder()
optional .Mysqlx.Expr.Array array = 9;getArrayOrBuilder in interface MysqlxExpr.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 java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 MysqlxExpr.Expr parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Expr parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Expr parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Expr parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Expr parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Expr parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Expr parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Expr parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Expr parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Expr parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Expr parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Expr parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MysqlxExpr.Expr.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MysqlxExpr.Expr.Builder newBuilder()
public static MysqlxExpr.Expr.Builder newBuilder(MysqlxExpr.Expr prototype)
public MysqlxExpr.Expr.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MysqlxExpr.Expr.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MysqlxExpr.Expr getDefaultInstance()
public static com.google.protobuf.Parser<MysqlxExpr.Expr> parser()
public com.google.protobuf.Parser<MysqlxExpr.Expr> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MysqlxExpr.Expr getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder