Interface DbStatementGet

All Superinterfaces:
DbStatement<DbStatementGet,Single<Optional<DbRow>>>
All Known Implementing Classes:
MongoDbStatementGet

public interface DbStatementGet extends DbStatement<DbStatementGet,Single<Optional<DbRow>>>
Database statement that queries the database and returns a single row if present, or an empty optional. In case the statement returns more than one rows, the future returned by DbStatement.execute() will end in CompletionStage.exceptionally(java.util.function.Function).