public interface DocumentPreparedStatement
| Modifier and Type | Method and Description |
|---|---|
DocumentPreparedStatement |
bind(String name,
Object value)
Binds an argument to a positional parameter.
|
Stream<DocumentEntity> |
getResult()
Executes a query and return the result as
Stream |
Optional<DocumentEntity> |
getSingleResult()
Returns the result as a single element otherwise it will return an
Optional.empty() |
DocumentPreparedStatement bind(String name, Object value)
name - the parameter namevalue - the parameter valueNullPointerException - when there is null parameterStream<DocumentEntity> getResult()
StreamOptional<DocumentEntity> getSingleResult()
Optional.empty()NonUniqueResultException - when the result has more than one entityCopyright © 2017–2020 Eclipse Foundation. All rights reserved.