public interface ResultSetReader
Modifier and Type | Method and Description |
---|---|
ResultSet |
read(InputStream in,
Context context)
Read from an
InputStream and produce a ResultSet . |
ResultSet |
read(Reader in,
Context context)
Using
read(InputStream, Context) is preferred. |
ResultSet read(InputStream in, Context context)
InputStream
and produce a ResultSet
.
Note that return result may stream and so the input stream be read
while the ResultSet is used.
See ResultSetFactory.copyResults(ResultSet)
for a ResultSet that is detached from the InputStream
.in
- InputStream to read from.context
- ResultSet read(Reader in, Context context)
read(InputStream, Context)
is preferred.
Read from an Reader
and produce a ResultSet
.
Note that return result may stream and so the reader be read
while the ResultSet is used.
See ResultSetFactory.copyResults(ResultSet)
for a ResultSet that is detached from the InputStream
.in
- Readercontext
- Licenced under the Apache License, Version 2.0