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