java.lang.Object
io.helidon.dbclient.common.AbstractStatement<S,R>
io.helidon.dbclient.mongodb.MongoDbStatementDml
- All Implemented Interfaces:
DbStatement<DbStatementDml,,io.helidon.common.reactive.Single<Long>> DbStatementDml
DML statement for MongoDB.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringCollection JSON parameter name.protected static final StringOperation JSON parameter name.protected static final StringProjection JSON parameter name: Defines projection to restrict returned fields.protected static final StringQuery JSON parameter name.protected static final StringValue JSON parameter name.protected static final JsonReaderFactoryJSON reader factory. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdbType()protected io.helidon.common.reactive.Single<Long>doExecute(io.helidon.common.reactive.Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) io.helidon.common.reactive.Single<Long>execute()Statement name.protected DbStatementTypeMethods inherited from class io.helidon.dbclient.common.AbstractStatement
addParam, addParam, clientContext, dbMapperManager, indexedParam, indexedParams, mapperManager, me, namedParam, namedParams, params, params, paramType, statement, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.dbclient.DbStatement
addParam, addParam, indexedParam, namedParam, params, params, params
-
Field Details
-
JSON_OPERATION
Operation JSON parameter name.- See Also:
-
JSON_COLLECTION
Collection JSON parameter name.- See Also:
-
JSON_QUERY
Query JSON parameter name.- See Also:
-
JSON_VALUE
Value JSON parameter name.- See Also:
-
JSON_PROJECTION
Projection JSON parameter name: Defines projection to restrict returned fields.- See Also:
-
READER_FACTORY
JSON reader factory.
-
-
Method Details
-
execute
- Specified by:
executein interfaceDbStatement<DbStatementDml,io.helidon.common.reactive.Single<Long>> - Overrides:
executein classAbstractStatement<DbStatementDml,io.helidon.common.reactive.Single<Long>>
-
doExecute
protected io.helidon.common.reactive.Single<Long> doExecute(io.helidon.common.reactive.Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) - Specified by:
doExecutein classAbstractStatement<DbStatementDml,io.helidon.common.reactive.Single<Long>>
-
statementType
- Overrides:
statementTypein classAbstractStatement<DbStatementDml,io.helidon.common.reactive.Single<Long>>
-
statementName
Statement name.- Overrides:
statementNamein classAbstractStatement<S extends DbStatement<S,R>, R> - Returns:
- name of this statement (never null, may be generated)
-
dbType
- Specified by:
dbTypein classAbstractStatement<S extends DbStatement<S,R>, R>
-