Class MongoDbStatementQuery

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 Details

  • Method Details

    • statementType

      public DbStatementType statementType()
      Description copied from class: DbStatementBase
      Get the statement type.
      Specified by:
      statementType in class DbStatementBase<DbStatementQuery>
      Returns:
      statement type
    • execute

      public Stream<DbRow> execute()
      Description copied from interface: DbStatementQuery
      Execute this statement using the parameters configured with params and addParams methods.
      Specified by:
      execute in interface DbStatementQuery
      Returns:
      The result of this statement
    • params

      public DbStatementQuery params(Object... parameters)
      Description copied from interface: DbStatement
      Configure parameters from an array by order. The statement must use indexed parameters and configure them by order in the provided array.
      Parameters:
      parameters - ordered parameters to set on this statement
      Returns:
      updated db statement