| Package | Description |
|---|---|
| com.mysql.cj.xdevapi |
Java classes for X DevAPI support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FindStatementImpl
FindStatement implementation. |
| Modifier and Type | Method and Description |
|---|---|
FindStatement |
FindStatementImpl.fields(Expression docProjection) |
FindStatement |
FindStatement.fields(Expression docProjection)
Add/replace the field projection defining the result.
|
FindStatement |
FindStatementImpl.fields(java.lang.String... projection) |
FindStatement |
FindStatement.fields(java.lang.String... projections)
Add/replace the field projections defining the result.
|
FindStatement |
CollectionImpl.find() |
FindStatement |
Collection.find()
Create a new find statement retrieving all documents in the collection.
|
FindStatement |
CollectionImpl.find(java.lang.String searchCondition) |
FindStatement |
Collection.find(java.lang.String searchCondition)
Create a new find statement retrieving documents matching the given search condition.
|
FindStatement |
FindStatementImpl.groupBy(java.lang.String... groupBy) |
FindStatement |
FindStatement.groupBy(java.lang.String... groupBy)
Add/replace the aggregation fields for this query.
|
FindStatement |
FindStatementImpl.having(java.lang.String having) |
FindStatement |
FindStatement.having(java.lang.String having)
Add/replace the aggregate criteria for this query.
|
FindStatement |
FindStatement.limit(long numberOfRows)
Add/replace the document limit for this query.
|
FindStatement |
FindStatementImpl.lockExclusive() |
FindStatement |
FindStatement.lockExclusive()
Locks matching rows exclusively so no other transactions can read or write to them.
|
FindStatement |
FindStatementImpl.lockExclusive(Statement.LockContention lockContention) |
FindStatement |
FindStatement.lockExclusive(Statement.LockContention lockContention)
Locks matching rows exclusively so no other transactions can read or write to them, using the provided lock contention option.
|
FindStatement |
FindStatementImpl.lockShared() |
FindStatement |
FindStatement.lockShared()
Locks matching rows against updates.
|
FindStatement |
FindStatementImpl.lockShared(Statement.LockContention lockContention) |
FindStatement |
FindStatement.lockShared(Statement.LockContention lockContention)
Locks matching rows against updates using the provided lock contention option.
|
FindStatement |
FindStatement.offset(long limitOffset)
Add/replace the document offset for this query.
|
FindStatement |
FindStatement.orderBy(java.lang.String... sortFields)
Add/replace the order specification for this query.
|
default FindStatement |
FindStatement.skip(long limitOffset)
Deprecated.
Deprecated in c/J 8.0.12, please use
offset(long) instead. |
FindStatement |
FindStatement.sort(java.lang.String... sortFields)
Add/replace the order specification for this query.
|
FindStatement |
FindStatementImpl.where(java.lang.String searchCondition)
Deprecated.
Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method.
|