com.caucho.jstl
Class ResultImpl
java.lang.Object
com.caucho.jstl.ResultImpl
- All Implemented Interfaces:
- Result
public class ResultImpl
- extends java.lang.Object
- implements Result
Returns the result of a SQL query.
Constructor Summary |
ResultImpl(java.sql.ResultSet rs,
int maxRows)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultImpl
public ResultImpl(java.sql.ResultSet rs,
int maxRows)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getRows
public java.util.SortedMap[] getRows()
- Specified by:
getRows
in interface Result
getRowsByIndex
public java.lang.Object[][] getRowsByIndex()
- Specified by:
getRowsByIndex
in interface Result
getColumnNames
public java.lang.String[] getColumnNames()
- Specified by:
getColumnNames
in interface Result
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface Result
isLimitedByMaxRows
public boolean isLimitedByMaxRows()
- Specified by:
isLimitedByMaxRows
in interface Result