java.lang.Object
io.helidon.dbclient.DbStatementBase<DbStatementQuery>
io.helidon.dbclient.mongodb.MongoDbStatementQuery
- All Implemented Interfaces:
DbStatement<DbStatementQuery>
,DbStatementQuery
public class MongoDbStatementQuery
extends DbStatementBase<DbStatementQuery>
implements DbStatementQuery
MongoDB
DbStatementQuery
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 TypeMethodDescriptionexecute()
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<DbStatementQuery>
- Returns:
- statement type
-
execute
Description copied from interface:DbStatementQuery
Execute this statement using the parameters configured withparams
andaddParams
methods.- Specified by:
execute
in interfaceDbStatementQuery
- Returns:
- The result of this statement
-