@Deprecated public class RowSetRepresentation extends WriterRepresentation
WebRowSet
UNKNOWN_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.
|
getReader
getChannel, getStream, write, write
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
getModificationDate, getTag, setModificationDate, setTag
createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
public RowSetRepresentation(JdbcResult jdbcResult) throws SQLException
jdbcResult
- The inner JdbcResult.SQLException
public 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.SQLException
public RowSetRepresentation(ResultSet resultSet) throws SQLException
resultSet
- The result set to use to populate the Web row set.SQLException
public 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.SQLException
public RowSetRepresentation(WebRowSet webRowSet)
webRowSet
- The inner WebRowSet.public JdbcResult getJdbcResult()
public WebRowSet getWebRowSet()
public void write(Writer writer) throws IOException
Representation
Writer
after writing to it as this will be handled
by the Restlet connectors automatically.write
in class Representation
writer
- The characters writer.IOException
Copyright © 2005–2017. All rights reserved.