public class ResultQueries extends Object
| Constructor and Description |
|---|
ResultQueries() |
| Modifier and Type | Method and Description |
|---|---|
<R extends org.jooq.TableRecord<R>> |
list(org.jooq.ResultQuery<R> resultQuery,
org.jooq.Table<R> table) |
<R extends org.jooq.TableRecord<R>> |
read(org.jooq.ResultQuery<R> resultQuery,
org.jooq.Table<R> table) |
public <R extends org.jooq.TableRecord<R>> Optional<R> read(org.jooq.ResultQuery<R> resultQuery, org.jooq.Table<R> table)
public <R extends org.jooq.TableRecord<R>> Stream<R> list(org.jooq.ResultQuery<R> resultQuery, org.jooq.Table<R> table)
Stream of the result data. The underlying connection is still open. You have to make sure
the Stream is properly closed, either by always consuming it fully (risky due to exceptions) or
preferrably by consuming it inside a try-with-resources block.Copyright © 2020. All rights reserved.