- All Implemented Interfaces:
DbStatement<DbStatementDml>
,DbStatementDml
MongoDB
DbStatementDml
implementation.-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
Collection JSON parameter name.protected static final String
Operation JSON parameter name.protected static final String
Projection JSON parameter name: Defines projection to restrict returned fields.protected static final String
Query JSON parameter name.protected static final String
Value JSON parameter name. -
Method Summary
Modifier and TypeMethodDescriptionlong
execute()
Execute this statement using the parameters configured withparams
andaddParams
methods.Get the statement type.Methods inherited from class io.helidon.dbclient.DbStatementBase
addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, autoClose, context, context, doExecute, identity, indexedParam, namedParam, parameters, params, params
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.dbclient.DbStatement
addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, addParam, 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:
-
-
Method Details
-
statementType
Description copied from class:DbStatementBase
Get the statement type.- Specified by:
statementType
in classDbStatementBase<DbStatementDml>
- Returns:
- statement type
-
execute
public long execute()Description copied from interface:DbStatementDml
Execute this statement using the parameters configured withparams
andaddParams
methods.- Specified by:
execute
in interfaceDbStatementDml
- Returns:
- The result of this statement.
-