|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.util.SQLQueryResult.Row
public class SQLQueryResult.Row
This class represents a row. The column values can be accessed either by the column index or by the column name.
Constructor Summary | |
---|---|
SQLQueryResult.Row(List columnList,
HashMap columnMap,
HashMap tableMap)
|
Method Summary | |
---|---|
String |
get(int i)
Returns the value of the given column |
String |
get(String colName)
Returns the value of the given column |
List |
getColumnList()
|
HashMap |
getColumnMap()
|
Object |
getObject(int i)
Returns the value of the given column as the Java Object retrieved through the SQL driver. |
Object |
getObject(String colName)
Returns the object value of the given column |
String |
getTableName(String colName)
Returns the name of table for the given column. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLQueryResult.Row(List columnList, HashMap columnMap, HashMap tableMap)
Method Detail |
---|
public List getColumnList()
public HashMap getColumnMap()
public String get(int i)
i
- the index of the column (starts at 0)
public Object getObject(int i)
i
- the index of the column (starts at 0)
public String get(String colName)
colName
- the name of the column
public Object getObject(String colName)
colName
- the name of the column
getObject(int)
public String getTableName(String colName)
colName
- the name of the column
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |