public static final class MysqlxExpr.Operator extends com.google.protobuf.GeneratedMessageV3 implements MysqlxExpr.OperatorOrBuilder
operator: ``<<(a, b)``
.. note::
Non-authoritative list of operators implemented (case sensitive):
Nullary
* ``*``
* ``default``
Unary
* ``!``
* ``sign_plus``
* ``sign_minus``
* ``~``
Binary
* ``&&``
* ``||``
* ``xor``
* ``==``
* ``!=``
* ``>``
* ``>=``
* ``<``
* ``<=``
* ``&``
* ``|``
* ``^``
* ``<<``
* ``>>``
* ``+``
* ``-``
* ``*``
* ``/``
* ``div``
* ``%``
* ``is``
* ``is_not``
* ``regexp``
* ``not_regexp``
* ``like``
* ``not_like``
* ``cast``
* ``cont_in``
* ``not_cont_in``
* ``overlaps``
* ``not_overlaps``
Using special representation, with more than 2 params
* ``in`` (param[0] IN (param[1], param[2], ...))
* ``not_in`` (param[0] NOT IN (param[1], param[2], ...))
Ternary
* ``between``
* ``between_not``
* ``date_add``
* ``date_sub``
Units for date_add/date_sub
* ``MICROSECOND``
* ``SECOND``
* ``MINUTE``
* ``HOUR``
* ``DAY``
* ``WEEK``
* ``MONTH``
* ``QUARTER``
* ``YEAR``
* ``SECOND_MICROSECOND``
* ``MINUTE_MICROSECOND``
* ``MINUTE_SECOND``
* ``HOUR_MICROSECOND``
* ``HOUR_SECOND``
* ``HOUR_MINUTE``
* ``DAY_MICROSECOND``
* ``DAY_SECOND``
* ``DAY_MINUTE``
* ``DAY_HOUR``
Types for cast
* ``BINARY[(N)]``
* ``CHAR[(N)]``
* ``DATE``
* ``DATETIME``
* ``DECIMAL[(M[,D])]``
* ``JSON``
* ``SIGNED [INTEGER]``
* ``TIME``
* ``UNSIGNED [INTEGER]``
.. productionlist::
operator: `name` "(" [ `expr` ["," `expr` ]* ] ")"
Protobuf type Mysqlx.Expr.Operator| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlxExpr.Operator.Builder
operator: ``<<(a, b)``
..
|
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 |
NAME_FIELD_NUMBER |
static int |
PARAM_FIELD_NUMBER |
static com.google.protobuf.Parser<MysqlxExpr.Operator> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static MysqlxExpr.Operator |
getDefaultInstance() |
MysqlxExpr.Operator |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
MysqlxExpr.Expr |
getParam(int index)
repeated .Mysqlx.Expr.Expr param = 2; |
int |
getParamCount()
repeated .Mysqlx.Expr.Expr param = 2; |
java.util.List<MysqlxExpr.Expr> |
getParamList()
repeated .Mysqlx.Expr.Expr param = 2; |
MysqlxExpr.ExprOrBuilder |
getParamOrBuilder(int index)
repeated .Mysqlx.Expr.Expr param = 2; |
java.util.List<? extends MysqlxExpr.ExprOrBuilder> |
getParamOrBuilderList()
repeated .Mysqlx.Expr.Expr param = 2; |
com.google.protobuf.Parser<MysqlxExpr.Operator> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MysqlxExpr.Operator.Builder |
newBuilder() |
static MysqlxExpr.Operator.Builder |
newBuilder(MysqlxExpr.Operator prototype) |
MysqlxExpr.Operator.Builder |
newBuilderForType() |
protected MysqlxExpr.Operator.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MysqlxExpr.Operator |
parseDelimitedFrom(java.io.InputStream input) |
static MysqlxExpr.Operator |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Operator |
parseFrom(byte[] data) |
static MysqlxExpr.Operator |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Operator |
parseFrom(java.nio.ByteBuffer data) |
static MysqlxExpr.Operator |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Operator |
parseFrom(com.google.protobuf.ByteString data) |
static MysqlxExpr.Operator |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Operator |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MysqlxExpr.Operator |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxExpr.Operator |
parseFrom(java.io.InputStream input) |
static MysqlxExpr.Operator |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MysqlxExpr.Operator> |
parser() |
MysqlxExpr.Operator.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, 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 NAME_FIELD_NUMBER
public static final int PARAM_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<MysqlxExpr.Operator> 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 hasName()
required string name = 1;hasName in interface MysqlxExpr.OperatorOrBuilderpublic java.lang.String getName()
required string name = 1;getName in interface MysqlxExpr.OperatorOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;getNameBytes in interface MysqlxExpr.OperatorOrBuilderpublic java.util.List<MysqlxExpr.Expr> getParamList()
repeated .Mysqlx.Expr.Expr param = 2;getParamList in interface MysqlxExpr.OperatorOrBuilderpublic java.util.List<? extends MysqlxExpr.ExprOrBuilder> getParamOrBuilderList()
repeated .Mysqlx.Expr.Expr param = 2;getParamOrBuilderList in interface MysqlxExpr.OperatorOrBuilderpublic int getParamCount()
repeated .Mysqlx.Expr.Expr param = 2;getParamCount in interface MysqlxExpr.OperatorOrBuilderpublic MysqlxExpr.Expr getParam(int index)
repeated .Mysqlx.Expr.Expr param = 2;getParam in interface MysqlxExpr.OperatorOrBuilderpublic MysqlxExpr.ExprOrBuilder getParamOrBuilder(int index)
repeated .Mysqlx.Expr.Expr param = 2;getParamOrBuilder in interface MysqlxExpr.OperatorOrBuilderpublic 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.Operator parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Operator parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Operator parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Operator parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Operator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Operator parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxExpr.Operator parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Operator parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Operator parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Operator parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Operator parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxExpr.Operator parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MysqlxExpr.Operator.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MysqlxExpr.Operator.Builder newBuilder()
public static MysqlxExpr.Operator.Builder newBuilder(MysqlxExpr.Operator prototype)
public MysqlxExpr.Operator.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MysqlxExpr.Operator.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MysqlxExpr.Operator getDefaultInstance()
public static com.google.protobuf.Parser<MysqlxExpr.Operator> parser()
public com.google.protobuf.Parser<MysqlxExpr.Operator> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MysqlxExpr.Operator getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder