public static final class MysqlxCrud.Update extends com.google.protobuf.GeneratedMessageV3 implements MysqlxCrud.UpdateOrBuilder
Update documents/rows in a collection/table :param collection: collection to change :param data_model: datamodel that the operations refer to :param criteria: filter expression to match rows that the operations will apply on :param args: values for parameters used in filter expression :param limit: limits the number of rows to match (user can set one of: limit, limit_expr) :param order: specifies order of matched rows :param operation: list of operations to be applied. Valid operations will depend on the data_model. :param limit_expr: limits the number of rows to match (user can set one of: limit, limit_expr) :Returns: :protobuf:msg:`Mysqlx.Resultset::`Protobuf type
Mysqlx.Crud.Update| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlxCrud.Update.Builder
Update documents/rows in a collection/table
:param collection: collection to change
:param data_model: datamodel that the operations refer to
:param criteria: filter expression to match rows that the operations will apply on
:param args: values for parameters used in filter expression
:param limit: limits the number of rows to match (user can set one of: limit, limit_expr)
:param order: specifies order of matched rows
:param operation: list of operations to be applied.
|
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 |
ARGS_FIELD_NUMBER |
static int |
COLLECTION_FIELD_NUMBER |
static int |
CRITERIA_FIELD_NUMBER |
static int |
DATA_MODEL_FIELD_NUMBER |
static int |
LIMIT_EXPR_FIELD_NUMBER |
static int |
LIMIT_FIELD_NUMBER |
static int |
OPERATION_FIELD_NUMBER |
static int |
ORDER_FIELD_NUMBER |
static com.google.protobuf.Parser<MysqlxCrud.Update> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
MysqlxDatatypes.Scalar |
getArgs(int index)
repeated .Mysqlx.Datatypes.Scalar args = 8; |
int |
getArgsCount()
repeated .Mysqlx.Datatypes.Scalar args = 8; |
java.util.List<MysqlxDatatypes.Scalar> |
getArgsList()
repeated .Mysqlx.Datatypes.Scalar args = 8; |
MysqlxDatatypes.ScalarOrBuilder |
getArgsOrBuilder(int index)
repeated .Mysqlx.Datatypes.Scalar args = 8; |
java.util.List<? extends MysqlxDatatypes.ScalarOrBuilder> |
getArgsOrBuilderList()
repeated .Mysqlx.Datatypes.Scalar args = 8; |
MysqlxCrud.Collection |
getCollection()
required .Mysqlx.Crud.Collection collection = 2; |
MysqlxCrud.CollectionOrBuilder |
getCollectionOrBuilder()
required .Mysqlx.Crud.Collection collection = 2; |
MysqlxExpr.Expr |
getCriteria()
optional .Mysqlx.Expr.Expr criteria = 4; |
MysqlxExpr.ExprOrBuilder |
getCriteriaOrBuilder()
optional .Mysqlx.Expr.Expr criteria = 4; |
MysqlxCrud.DataModel |
getDataModel()
optional .Mysqlx.Crud.DataModel data_model = 3; |
static MysqlxCrud.Update |
getDefaultInstance() |
MysqlxCrud.Update |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
MysqlxCrud.Limit |
getLimit()
optional .Mysqlx.Crud.Limit limit = 5; |
MysqlxCrud.LimitExpr |
getLimitExpr()
optional .Mysqlx.Crud.LimitExpr limit_expr = 9; |
MysqlxCrud.LimitExprOrBuilder |
getLimitExprOrBuilder()
optional .Mysqlx.Crud.LimitExpr limit_expr = 9; |
MysqlxCrud.LimitOrBuilder |
getLimitOrBuilder()
optional .Mysqlx.Crud.Limit limit = 5; |
MysqlxCrud.UpdateOperation |
getOperation(int index)
repeated .Mysqlx.Crud.UpdateOperation operation = 7; |
int |
getOperationCount()
repeated .Mysqlx.Crud.UpdateOperation operation = 7; |
java.util.List<MysqlxCrud.UpdateOperation> |
getOperationList()
repeated .Mysqlx.Crud.UpdateOperation operation = 7; |
MysqlxCrud.UpdateOperationOrBuilder |
getOperationOrBuilder(int index)
repeated .Mysqlx.Crud.UpdateOperation operation = 7; |
java.util.List<? extends MysqlxCrud.UpdateOperationOrBuilder> |
getOperationOrBuilderList()
repeated .Mysqlx.Crud.UpdateOperation operation = 7; |
MysqlxCrud.Order |
getOrder(int index)
repeated .Mysqlx.Crud.Order order = 6; |
int |
getOrderCount()
repeated .Mysqlx.Crud.Order order = 6; |
java.util.List<MysqlxCrud.Order> |
getOrderList()
repeated .Mysqlx.Crud.Order order = 6; |
MysqlxCrud.OrderOrBuilder |
getOrderOrBuilder(int index)
repeated .Mysqlx.Crud.Order order = 6; |
java.util.List<? extends MysqlxCrud.OrderOrBuilder> |
getOrderOrBuilderList()
repeated .Mysqlx.Crud.Order order = 6; |
com.google.protobuf.Parser<MysqlxCrud.Update> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCollection()
required .Mysqlx.Crud.Collection collection = 2; |
boolean |
hasCriteria()
optional .Mysqlx.Expr.Expr criteria = 4; |
boolean |
hasDataModel()
optional .Mysqlx.Crud.DataModel data_model = 3; |
int |
hashCode() |
boolean |
hasLimit()
optional .Mysqlx.Crud.Limit limit = 5; |
boolean |
hasLimitExpr()
optional .Mysqlx.Crud.LimitExpr limit_expr = 9; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MysqlxCrud.Update.Builder |
newBuilder() |
static MysqlxCrud.Update.Builder |
newBuilder(MysqlxCrud.Update prototype) |
MysqlxCrud.Update.Builder |
newBuilderForType() |
protected MysqlxCrud.Update.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MysqlxCrud.Update |
parseDelimitedFrom(java.io.InputStream input) |
static MysqlxCrud.Update |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Update |
parseFrom(byte[] data) |
static MysqlxCrud.Update |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Update |
parseFrom(java.nio.ByteBuffer data) |
static MysqlxCrud.Update |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Update |
parseFrom(com.google.protobuf.ByteString data) |
static MysqlxCrud.Update |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Update |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MysqlxCrud.Update |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Update |
parseFrom(java.io.InputStream input) |
static MysqlxCrud.Update |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MysqlxCrud.Update> |
parser() |
MysqlxCrud.Update.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 COLLECTION_FIELD_NUMBER
public static final int DATA_MODEL_FIELD_NUMBER
public static final int CRITERIA_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static final int LIMIT_EXPR_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<MysqlxCrud.Update> 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 hasCollection()
required .Mysqlx.Crud.Collection collection = 2;hasCollection in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.Collection getCollection()
required .Mysqlx.Crud.Collection collection = 2;getCollection in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.CollectionOrBuilder getCollectionOrBuilder()
required .Mysqlx.Crud.Collection collection = 2;getCollectionOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic boolean hasDataModel()
optional .Mysqlx.Crud.DataModel data_model = 3;hasDataModel in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.DataModel getDataModel()
optional .Mysqlx.Crud.DataModel data_model = 3;getDataModel in interface MysqlxCrud.UpdateOrBuilderpublic boolean hasCriteria()
optional .Mysqlx.Expr.Expr criteria = 4;hasCriteria in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxExpr.Expr getCriteria()
optional .Mysqlx.Expr.Expr criteria = 4;getCriteria in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxExpr.ExprOrBuilder getCriteriaOrBuilder()
optional .Mysqlx.Expr.Expr criteria = 4;getCriteriaOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic java.util.List<MysqlxDatatypes.Scalar> getArgsList()
repeated .Mysqlx.Datatypes.Scalar args = 8;getArgsList in interface MysqlxCrud.UpdateOrBuilderpublic java.util.List<? extends MysqlxDatatypes.ScalarOrBuilder> getArgsOrBuilderList()
repeated .Mysqlx.Datatypes.Scalar args = 8;getArgsOrBuilderList in interface MysqlxCrud.UpdateOrBuilderpublic int getArgsCount()
repeated .Mysqlx.Datatypes.Scalar args = 8;getArgsCount in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxDatatypes.Scalar getArgs(int index)
repeated .Mysqlx.Datatypes.Scalar args = 8;getArgs in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxDatatypes.ScalarOrBuilder getArgsOrBuilder(int index)
repeated .Mysqlx.Datatypes.Scalar args = 8;getArgsOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic java.util.List<MysqlxCrud.Order> getOrderList()
repeated .Mysqlx.Crud.Order order = 6;getOrderList in interface MysqlxCrud.UpdateOrBuilderpublic java.util.List<? extends MysqlxCrud.OrderOrBuilder> getOrderOrBuilderList()
repeated .Mysqlx.Crud.Order order = 6;getOrderOrBuilderList in interface MysqlxCrud.UpdateOrBuilderpublic int getOrderCount()
repeated .Mysqlx.Crud.Order order = 6;getOrderCount in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.Order getOrder(int index)
repeated .Mysqlx.Crud.Order order = 6;getOrder in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.OrderOrBuilder getOrderOrBuilder(int index)
repeated .Mysqlx.Crud.Order order = 6;getOrderOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic java.util.List<MysqlxCrud.UpdateOperation> getOperationList()
repeated .Mysqlx.Crud.UpdateOperation operation = 7;getOperationList in interface MysqlxCrud.UpdateOrBuilderpublic java.util.List<? extends MysqlxCrud.UpdateOperationOrBuilder> getOperationOrBuilderList()
repeated .Mysqlx.Crud.UpdateOperation operation = 7;getOperationOrBuilderList in interface MysqlxCrud.UpdateOrBuilderpublic int getOperationCount()
repeated .Mysqlx.Crud.UpdateOperation operation = 7;getOperationCount in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.UpdateOperation getOperation(int index)
repeated .Mysqlx.Crud.UpdateOperation operation = 7;getOperation in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.UpdateOperationOrBuilder getOperationOrBuilder(int index)
repeated .Mysqlx.Crud.UpdateOperation operation = 7;getOperationOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic boolean hasLimit()
optional .Mysqlx.Crud.Limit limit = 5;hasLimit in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.Limit getLimit()
optional .Mysqlx.Crud.Limit limit = 5;getLimit in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.LimitOrBuilder getLimitOrBuilder()
optional .Mysqlx.Crud.Limit limit = 5;getLimitOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic boolean hasLimitExpr()
optional .Mysqlx.Crud.LimitExpr limit_expr = 9;hasLimitExpr in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.LimitExpr getLimitExpr()
optional .Mysqlx.Crud.LimitExpr limit_expr = 9;getLimitExpr in interface MysqlxCrud.UpdateOrBuilderpublic MysqlxCrud.LimitExprOrBuilder getLimitExprOrBuilder()
optional .Mysqlx.Crud.LimitExpr limit_expr = 9;getLimitExprOrBuilder in interface MysqlxCrud.UpdateOrBuilderpublic 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 MysqlxCrud.Update parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Update parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Update parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Update parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Update parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Update parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Update parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Update parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Update parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Update parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Update parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Update parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MysqlxCrud.Update.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MysqlxCrud.Update.Builder newBuilder()
public static MysqlxCrud.Update.Builder newBuilder(MysqlxCrud.Update prototype)
public MysqlxCrud.Update.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MysqlxCrud.Update.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MysqlxCrud.Update getDefaultInstance()
public static com.google.protobuf.Parser<MysqlxCrud.Update> parser()
public com.google.protobuf.Parser<MysqlxCrud.Update> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MysqlxCrud.Update getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder