public class DbTypedTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,java.lang.Object> |
_row
The _row.
|
protected java.util.ArrayList<java.util.Map> |
_rows
The _rows.
|
Constructor and Description |
---|
DbTypedTable(java.sql.ResultSet rs)
Create a table based on a ResultSet.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.util.Map> |
getTable()
Gets the table as an ArrayList of Map.
|
protected void |
parseResultSet(java.sql.ResultSet rs)
Parse the ResultSet into the table structure.
|
protected java.util.HashMap<java.lang.String,java.lang.Object> _row
protected java.util.ArrayList<java.util.Map> _rows
public DbTypedTable(java.sql.ResultSet rs)
rs
- the rsprotected void parseResultSet(java.sql.ResultSet rs) throws java.sql.SQLException
rs
- the ResultSet to parsejava.sql.SQLException
public java.util.ArrayList<java.util.Map> getTable()