Package com.mysql.cj.x.protobuf
Class MysqlxCrud
java.lang.Object
com.mysql.cj.x.protobuf.MysqlxCrud
public final class MysqlxCrud
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMysqlxCrud.Collectioncollectionstatic interfaceMysqlxCrud.CollectionOrBuilderstatic classMysqlxCrud.Columncolumn definitionstatic interfaceMysqlxCrud.ColumnOrBuilderstatic classMysqlxCrud.CreateViewProtobuf typeMysqlx.Crud.CreateViewstatic interfaceMysqlxCrud.CreateViewOrBuilderstatic classMysqlxCrud.DataModelDataModel to use for filters, names, ...static classMysqlxCrud.DeleteDelete documents/rows from 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 limit_expr: limits the number of rows to match (user can set one of: limit, limit_expr) :Returns: :protobuf:msg:`Mysqlx.Resultset::`static interfaceMysqlxCrud.DeleteOrBuilderstatic classMysqlxCrud.DropViewProtobuf typeMysqlx.Crud.DropViewstatic interfaceMysqlxCrud.DropViewOrBuilderstatic classMysqlxCrud.FindFind Documents/Rows in a Collection/Table ..static interfaceMysqlxCrud.FindOrBuilderstatic classMysqlxCrud.InsertInsert documents/rows into a collection/table :param collection: collection to insert into :param data_model: datamodel that the operations refer to :param projection: name of the columns to insert data into (empty if data_model is DOCUMENT) :param row: set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression) :param args: values for parameters used in row expressions :param upsert: true if this should be treated as an Upsert (that is, update on duplicate key) :Returns: :protobuf:msg:`Mysqlx.Resultset::`static interfaceMysqlxCrud.InsertOrBuilderstatic classMysqlxCrud.Limitlimit :param row_count: maximum rows to filter :param offset: maximum rows to skip before applying the row_countstatic classMysqlxCrud.LimitExprlimit expression LimitExpr in comparison to Limit, is able to specify that row_count and offset are placeholders.static interfaceMysqlxCrud.LimitExprOrBuilderstatic interfaceMysqlxCrud.LimitOrBuilderstatic classMysqlxCrud.ModifyViewProtobuf typeMysqlx.Crud.ModifyViewstatic interfaceMysqlxCrud.ModifyViewOrBuilderstatic classMysqlxCrud.Ordersort orderstatic interfaceMysqlxCrud.OrderOrBuilderstatic classMysqlxCrud.Projectiona projection :param source: the expression identifying an element from the source data which can include a column identifier or any expression :param alias: optional alias.static interfaceMysqlxCrud.ProjectionOrBuilderstatic classMysqlxCrud.UpdateUpdate 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.static classMysqlxCrud.UpdateOperationupdate operations :param source: specification of the value to be updated if data_model is TABLE, a column name may be specified and also a document path, if the column has type JSON if data_model is DOCUMENT, only document paths are allowed in both cases, schema and table must be not set :param operation: the type of operation to be performed :param value: an expression to be computed as the new value for the operationstatic interfaceMysqlxCrud.UpdateOperationOrBuilderstatic interfaceMysqlxCrud.UpdateOrBuilderstatic classMysqlxCrud.ViewAlgorithmViewAlgorithm defines how MySQL Server processes the viewstatic classMysqlxCrud.ViewCheckOptionViewCheckOption limits the write operations done on a `VIEW` (`INSERT`, `UPDATE`, `DELETE`) to rows in which the `WHERE` clause is `TRUE`static classMysqlxCrud.ViewSqlSecurityViewSqlSecurity defines the security context in which the view is going to be executed, this means that VIEW can be executed with current user permissions or with permissions of the uses who defined the VIEW -
Method Summary
Modifier and Type Method Description static com.google.protobuf.Descriptors.FileDescriptorgetDescriptor()static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry)static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
-
Method Details
-
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) -
registerAllExtensions
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) -
getDescriptor
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
-