Package com.mysql.cj.x.protobuf
Class MysqlxExpr.Expr
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.mysql.cj.x.protobuf.MysqlxExpr.Expr
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,MysqlxExpr.ExprOrBuilder
,java.io.Serializable
- Enclosing class:
- MysqlxExpr
public static final class MysqlxExpr.Expr extends com.google.protobuf.GeneratedMessageV3 implements MysqlxExpr.ExprOrBuilder
Expressions the "root" of the expression tree .. productionlist:: expr: `operator` | : `identifier` | : `function_call` | : variable | : `literal` | : placeholder 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.Protobuf type
Mysqlx.Expr.Expr
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MysqlxExpr.Expr.Builder
Expressions the "root" of the expression tree ..static class
MysqlxExpr.Expr.Type
Protobuf enumMysqlx.Expr.Expr.Type
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
Modifier and Type Method 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(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 MysqlxExpr.Expr
parseFrom(java.nio.ByteBuffer data)
static MysqlxExpr.Expr
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MysqlxExpr.Expr>
parser()
MysqlxExpr.Expr.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
- Constant Field Values
-
IDENTIFIER_FIELD_NUMBER
public static final int IDENTIFIER_FIELD_NUMBER- See Also:
- Constant Field Values
-
VARIABLE_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER- See Also:
- Constant Field Values
-
LITERAL_FIELD_NUMBER
public static final int LITERAL_FIELD_NUMBER- See Also:
- Constant Field Values
-
FUNCTION_CALL_FIELD_NUMBER
public static final int FUNCTION_CALL_FIELD_NUMBER- See Also:
- Constant Field Values
-
OPERATOR_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER- See Also:
- Constant Field Values
-
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER- See Also:
- Constant Field Values
-
OBJECT_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER- See Also:
- Constant Field Values
-
ARRAY_FIELD_NUMBER
public static final int ARRAY_FIELD_NUMBER- See Also:
- Constant Field Values
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasType
public boolean hasType()required .Mysqlx.Expr.Expr.Type type = 1;
- Specified by:
hasType
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the type field is set.
-
getType
required .Mysqlx.Expr.Expr.Type type = 1;
- Specified by:
getType
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The type.
-
hasIdentifier
public boolean hasIdentifier()optional .Mysqlx.Expr.ColumnIdentifier identifier = 2;
- Specified by:
hasIdentifier
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the identifier field is set.
-
getIdentifier
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2;
- Specified by:
getIdentifier
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The identifier.
-
getIdentifierOrBuilder
optional .Mysqlx.Expr.ColumnIdentifier identifier = 2;
- Specified by:
getIdentifierOrBuilder
in interfaceMysqlxExpr.ExprOrBuilder
-
hasVariable
public boolean hasVariable()optional string variable = 3;
- Specified by:
hasVariable
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the variable field is set.
-
getVariable
public java.lang.String getVariable()optional string variable = 3;
- Specified by:
getVariable
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The variable.
-
getVariableBytes
public com.google.protobuf.ByteString getVariableBytes()optional string variable = 3;
- Specified by:
getVariableBytes
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The bytes for variable.
-
hasLiteral
public boolean hasLiteral()optional .Mysqlx.Datatypes.Scalar literal = 4;
- Specified by:
hasLiteral
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the literal field is set.
-
getLiteral
optional .Mysqlx.Datatypes.Scalar literal = 4;
- Specified by:
getLiteral
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The literal.
-
getLiteralOrBuilder
optional .Mysqlx.Datatypes.Scalar literal = 4;
- Specified by:
getLiteralOrBuilder
in interfaceMysqlxExpr.ExprOrBuilder
-
hasFunctionCall
public boolean hasFunctionCall()optional .Mysqlx.Expr.FunctionCall function_call = 5;
- Specified by:
hasFunctionCall
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the functionCall field is set.
-
getFunctionCall
optional .Mysqlx.Expr.FunctionCall function_call = 5;
- Specified by:
getFunctionCall
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The functionCall.
-
getFunctionCallOrBuilder
optional .Mysqlx.Expr.FunctionCall function_call = 5;
- Specified by:
getFunctionCallOrBuilder
in interfaceMysqlxExpr.ExprOrBuilder
-
hasOperator
public boolean hasOperator()optional .Mysqlx.Expr.Operator operator = 6;
- Specified by:
hasOperator
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the operator field is set.
-
getOperator
optional .Mysqlx.Expr.Operator operator = 6;
- Specified by:
getOperator
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The operator.
-
getOperatorOrBuilder
optional .Mysqlx.Expr.Operator operator = 6;
- Specified by:
getOperatorOrBuilder
in interfaceMysqlxExpr.ExprOrBuilder
-
hasPosition
public boolean hasPosition()optional uint32 position = 7;
- Specified by:
hasPosition
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the position field is set.
-
getPosition
public int getPosition()optional uint32 position = 7;
- Specified by:
getPosition
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The position.
-
hasObject
public boolean hasObject()optional .Mysqlx.Expr.Object object = 8;
- Specified by:
hasObject
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the object field is set.
-
getObject
optional .Mysqlx.Expr.Object object = 8;
- Specified by:
getObject
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The object.
-
getObjectOrBuilder
optional .Mysqlx.Expr.Object object = 8;
- Specified by:
getObjectOrBuilder
in interfaceMysqlxExpr.ExprOrBuilder
-
hasArray
public boolean hasArray()optional .Mysqlx.Expr.Array array = 9;
- Specified by:
hasArray
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- Whether the array field is set.
-
getArray
optional .Mysqlx.Expr.Array array = 9;
- Specified by:
getArray
in interfaceMysqlxExpr.ExprOrBuilder
- Returns:
- The array.
-
getArrayOrBuilder
optional .Mysqlx.Expr.Array array = 9;
- Specified by:
getArrayOrBuilder
in interfaceMysqlxExpr.ExprOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MysqlxExpr.Expr parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
java.io.IOException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MysqlxExpr.Expr parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MysqlxExpr.Expr parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxExpr.Expr parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MysqlxExpr.Expr.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-