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