public final class MysqlxCrud
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlxCrud.Collection
collection
|
static interface |
MysqlxCrud.CollectionOrBuilder |
static class |
MysqlxCrud.Column
column definition
|
static interface |
MysqlxCrud.ColumnOrBuilder |
static class |
MysqlxCrud.CreateView
Protobuf type
Mysqlx.Crud.CreateView |
static interface |
MysqlxCrud.CreateViewOrBuilder |
static class |
MysqlxCrud.DataModel
DataModel to use for filters, names, ...
|
static class |
MysqlxCrud.Delete
Delete 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 interface |
MysqlxCrud.DeleteOrBuilder |
static class |
MysqlxCrud.DropView
Protobuf type
Mysqlx.Crud.DropView |
static interface |
MysqlxCrud.DropViewOrBuilder |
static class |
MysqlxCrud.Find
Find Documents/Rows in a Collection/Table
..
|
static interface |
MysqlxCrud.FindOrBuilder |
static class |
MysqlxCrud.Insert
Insert 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 interface |
MysqlxCrud.InsertOrBuilder |
static class |
MysqlxCrud.Limit
limit
:param row_count: maximum rows to filter
:param offset: maximum rows to skip before applying the row_count
|
static class |
MysqlxCrud.LimitExpr
limit expression
LimitExpr in comparison to Limit, is able to specify that row_count and
offset are placeholders.
|
static interface |
MysqlxCrud.LimitExprOrBuilder |
static interface |
MysqlxCrud.LimitOrBuilder |
static class |
MysqlxCrud.ModifyView
Protobuf type
Mysqlx.Crud.ModifyView |
static interface |
MysqlxCrud.ModifyViewOrBuilder |
static class |
MysqlxCrud.Order
sort order
|
static interface |
MysqlxCrud.OrderOrBuilder |
static class |
MysqlxCrud.Projection
a 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 interface |
MysqlxCrud.ProjectionOrBuilder |
static class |
MysqlxCrud.Update
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.
|
static class |
MysqlxCrud.UpdateOperation
update 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 operation
|
static interface |
MysqlxCrud.UpdateOperationOrBuilder |
static interface |
MysqlxCrud.UpdateOrBuilder |
static class |
MysqlxCrud.ViewAlgorithm
ViewAlgorithm defines how MySQL Server processes the view
|
static class |
MysqlxCrud.ViewCheckOption
ViewCheckOption limits the write operations done on a `VIEW`
(`INSERT`, `UPDATE`, `DELETE`) to rows in which the `WHERE` clause is `TRUE`
|
static class |
MysqlxCrud.ViewSqlSecurity
ViewSqlSecurity 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
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.FileDescriptor |
getDescriptor() |
static void |
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) |
static void |
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) |
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()