@Deprecated public class RowSetRepresentation extends WriterRepresentation
WebRowSetUNKNOWN_SIZE| Constructor and Description |
|---|
RowSetRepresentation(JdbcResult jdbcResult)
Deprecated.
Constructor.
|
RowSetRepresentation(JdbcResult jdbcResult,
int start,
int limit)
Deprecated.
Constructor with paging.
|
RowSetRepresentation(ResultSet resultSet)
Deprecated.
Constructor.
|
RowSetRepresentation(ResultSet resultSet,
int start,
int limit)
Deprecated.
Constructor with paging.
|
RowSetRepresentation(WebRowSet webRowSet)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JdbcResult |
getJdbcResult()
Deprecated.
Returns the inner JdbcResult instance or null.
|
WebRowSet |
getWebRowSet()
Deprecated.
Returns the inner WebRowSet instance.
|
void |
write(Writer writer)
Deprecated.
Writes the representation to a characters writer.
|
getReadergetChannel, getStream, write, writeappend, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransientgetModificationDate, getTag, setModificationDate, setTagcreateClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toStringpublic RowSetRepresentation(JdbcResult jdbcResult) throws SQLException
jdbcResult - The inner JdbcResult.SQLExceptionpublic RowSetRepresentation(JdbcResult jdbcResult, int start, int limit) throws SQLException
jdbcResult - The inner JdbcResult.start - The start index of the page or 0 for the first result.limit - The page size or -1 if no limit is set.SQLExceptionpublic RowSetRepresentation(ResultSet resultSet) throws SQLException
resultSet - The result set to use to populate the Web row set.SQLExceptionpublic RowSetRepresentation(ResultSet resultSet, int start, int limit) throws SQLException
resultSet - The result set to use to populate the Web row set.start - The start index of the page or 1 for the first result.limit - The page size or -1 if no limit is set.SQLExceptionpublic RowSetRepresentation(WebRowSet webRowSet)
webRowSet - The inner WebRowSet.public JdbcResult getJdbcResult()
public WebRowSet getWebRowSet()
public void write(Writer writer) throws IOException
RepresentationWriter after writing to it as this will be handled
by the Restlet connectors automatically.write in class Representationwriter - The characters writer.IOExceptionCopyright © 2005–2016. All rights reserved.