Methods Summary |
---|
public java.lang.String[] | getColumnNames()Returns an array of String objects. The array represents
the names of the columns arranged in the same order as in
the getRowsByIndex() method.
return columnNames;
|
public int | getRowCount()Returns the number of rows in the cached ResultSet
if (rowMap == null) {
return -1;
}
return rowMap.size();
|
public java.util.SortedMap[] | getRows()Returns an array of SortedMap objects. The SortedMap
object key is the ColumnName and the value is the ColumnValue.
SortedMap was created using the CASE_INSENSITIVE_ORDER
Comparator so the key is the case insensitive representation
of the ColumnName.
if (rowMap == null) {
return null;
}
//should just be able to return SortedMap[] object
return (SortedMap []) rowMap.toArray(new SortedMap[0]);
|
public java.lang.Object[][] | getRowsByIndex()Returns an array of Object[] objects. The first index
designates the Row, the second the Column. The array
stores the value at the specified row and column.
if (rowByIndex == null) {
return null;
}
//should just be able to return Object[][] object
return (Object [][])rowByIndex.toArray(new Object[0][0]);
|
public boolean | isLimitedByMaxRows()Returns true of the query was limited by a maximum row setting
return isLimited;
|