FindStatement implementation.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CompletableFuture | executeAsync()
Implements com. Execute the statement asynchronously. |
| protected DocResult | executePreparedStatement()
Implements abstract com. Executes a previously server-prepared statement. |
| protected DocResult | executeStatement()
Implements abstract com. Executes the statement directly (non-prepared). |
| public FindStatement | fields(String...
projection expression projection)Implements com. Add/replace the field projections defining the result. |
| public FindStatement | fields(Expression
projection expression docProjection)Implements com. Add/replace the field projection defining the result. |
| protected XMessage | getPrepareStatementXMessage()
Implements abstract com. Returns the |
| public FindStatement | groupBy(String...
groupBy expression groupBy)Implements com. Add/replace the aggregation fields for this query. |
| public FindStatement | having(String
having expression having)Implements com. Add/replace the aggregate criteria for this query. |
| public FindStatement | lockExclusive()
Implements com. Locks matching rows exclusively so no other transactions can read or write to them. |
| public FindStatement | lockExclusive(Statement.
The lockContentioncom. value to set.Implements com. Locks matching rows exclusively so no other transactions can read or write to them, using the provided lock contention option. |
| public FindStatement | lockShared()
Implements com. Locks matching rows against updates. |
| public FindStatement | lockShared(Statement.
The lockContentioncom. value to set.Implements com. Locks matching rows against updates using the provided lock contention option. |
| public FindStatement | where(String
expression searchCondition)Overrides com.
Deprecated
Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method.
Add search condition to this statement. |
| FindStatementImpl | back to summary |
|---|---|
| pack-priv FindStatementImpl(MysqlxSession mysqlxSession, String schema, String collection, String criteria) | |
| executeAsync | back to summary |
|---|---|
| public CompletableFuture Implements com. Doc from com. Execute the statement asynchronously.
| |
| executePreparedStatement | back to summary |
|---|---|
| protected DocResult executePreparedStatement() Implements abstract com. Doc from com. Executes a previously server-prepared statement. Implementation is dependent on the statement type. | |
| executeStatement | back to summary |
|---|---|
| protected DocResult executeStatement() Implements abstract com. Doc from com. Executes the statement directly (non-prepared). Implementation is dependent on the statement type. | |
| fields | back to summary |
|---|---|
| public FindStatement fields(String... projection) Implements com. Doc from com. Add/replace the field projections defining the result.
| |
| fields | back to summary |
|---|---|
| public FindStatement fields(Expression docProjection) Implements com. Doc from com. Add/replace the field projection defining the result.
| |
| getPrepareStatementXMessage | back to summary |
|---|---|
| protected XMessage getPrepareStatementXMessage() Implements abstract com. Doc from com. Returns the | |
| groupBy | back to summary |
|---|---|
| public FindStatement groupBy(String... groupBy) Implements com. Doc from com. Add/replace the aggregation fields for this query.
| |
| having | back to summary |
|---|---|
| public FindStatement having(String having) Implements com. Doc from com. Add/replace the aggregate criteria for this query.
| |
| lockExclusive | back to summary |
|---|---|
| public FindStatement lockExclusive() Implements com. Doc from com. Locks matching rows exclusively so no other transactions can read or write to them.
| |
| lockExclusive | back to summary |
|---|---|
| public FindStatement lockExclusive(Statement. Implements com. Doc from com. Locks matching rows exclusively so no other transactions can read or write to them, using the provided lock contention option.
| |
| lockShared | back to summary |
|---|---|
| public FindStatement lockShared() Implements com. Doc from com. Locks matching rows against updates.
| |
| lockShared | back to summary |
|---|---|
| public FindStatement lockShared(Statement. Implements com. Doc from com. Locks matching rows against updates using the provided lock contention option.
| |
| where | back to summary |
|---|---|
| public FindStatement where(String searchCondition) Overrides com. Doc from com. Deprecated Deprecated in Connector/J 8.0.17. Please use filter criteria in the operation starting method. Add search condition to this statement.
table.delete().where("age == 13").execute();
| |