Package com.jalios.util
Class SQLQueryResult.Row
java.lang.Object
com.jalios.util.SQLQueryResult.Row
- Enclosing class:
SQLQueryResult
This class represents a row. The column values can be accessed either by the column index or by the column name.
- Since:
- jcms-5.5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(int i) Returns the value of the given columnReturns the value of the given columngetObject(int i) Returns the value of the given column as the Java Object retrieved through the SQL driver.Returns the object value of the given columngetTableName(String colName) Returns the name of table for the given column.
-
Constructor Details
-
Row
-
-
Method Details
-
getColumnList
- Returns:
- the list of column values
-
getColumnMap
- Returns:
- a map (column name, column value)
-
get
Returns the value of the given column- Parameters:
i- the index of the column (starts at 0)- Returns:
- the value of the given column or empty string when not available
-
getObject
Returns the value of the given column as the Java Object retrieved through the SQL driver.- Parameters:
i- the index of the column (starts at 0)- Returns:
- the value of the given column
-
get
Returns the value of the given column- Parameters:
colName- the name of the column- Returns:
- the value of the given column
-
getObject
Returns the object value of the given column- Parameters:
colName- the name of the column- Returns:
- the value of the given column
- See Also:
-
getTableName
Returns the name of table for the given column.- Parameters:
colName- the name of the column- Returns:
- the name of table for the given column.
- Since:
- jcms-5.6.0
-