# Package com.mysql.cj.xdevapi

Java classes for X DevAPI support.

See: Description

Interface Summary
AddResult: A result from the collection.add() statement.
AddStatement: A statement adding documents to a collection.
Client: X DevAPI class encapsulating a Session pooling functionality.
Collection: Representation of a document collection.
Column: Represents individual column of `RowResult`
DatabaseObject: A client-side representation of X Plugin server object, e.g.
DbDoc: The object representation of a JSON document.
DeleteStatement: A statement to delete rows from a table.
DocResult: A sequence of documents retrieved from a find query.
FetchResult<T>: A set of elements from a query command.
FilterParams: Transforms X DevAPI filter parameters into X Protocol message entities.
FindStatement: A statement to find the set of documents according to the given specification.
InsertResult: A result from the table.insert() statement.
InsertStatement: A statement INSERTing new row(s) into a table.
JsonValue: Common interface for classes representing standard JSON object, array, number, string and 'true', 'false' and 'null' literals and non-standard extensions like mysqlx.expr() expressions.
ModifyStatement: A statement representing a set of document modifications.
RemoveStatement: A statement requesting to remove a set of documents.
Result: Base result.
Row: A row element returned from a SELECT query.
RowResult: A result exposing a set of rows from a SELECT query.
Schema: A client-side representation of a database schema.
SelectStatement: A statement representing a SELECT query.
Session: X DevAPI introduces a new, high-level database connection concept that is called Session.
SqlResult: A result from a SQL statement which may have several sets of data following by a DML result.
SqlStatement: A statement representing a raw SQL command.
Statement<STMT_T,RES_T>: A statement is a query or state-affecting command against a database that returns a result.
Table: A client-side representation of a database table.
UpdateStatement: A statement representing a set of row modifications.
Warning: A warning generated during statement execution.

Class Summary
ClientFactory: ClientFactory is used for creation of `Client` instances.
Expression: A wrapper for expression strings.
Schema.CreateCollectionOptions: Defines options to be passed to `Schema.createCollection(String, CreateCollectionOptions)`.
Schema.ModifyCollectionOptions: Defines options to be passed to `Schema.modifyCollection(String, ModifyCollectionOptions)`.
Schema.Validation: Validation options to be passed to `Schema.createCollection(String, CreateCollectionOptions)` or `Schema.modifyCollection(String, ModifyCollectionOptions)`.
SessionFactory: SessionFactory is used for creation of sessions.

Enum Summary
Client.ClientProperty
DatabaseObject.DbObjectStatus: Existence states of database objects.
DatabaseObject.DbObjectType: Type of database objects.
FilterParams.RowLock: The type of row lock.
FilterParams.RowLockOptions: Options that define the behavior while retrieving locked rows.
Schema.Validation.ValidationLevel: Defines how validation options are applied.
Statement.LockContention: The lock contention options for the locking modes available.
Type: Column type.
UpdateType: Update operation type.

Exception Summary
XDevAPIError: An Error returned from X DevAPI.

## Package com.mysql.cj.xdevapi Description

Java classes for X DevAPI support.
Copyright © 2016, 2025, Oracle and/or its affiliates.