com.neomades.database.Row |
![]() |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract byte[] |
getBlob(int columnIndex)
Returns the value of the requested column as a byte array.
| ||||||||||
abstract int |
getColumnCount()
Returns total number of columns
| ||||||||||
abstract int |
getColumnIndex(String columnName)
Returns the zero-based index for the given column name, or -1 if the column
doesn't exist.
| ||||||||||
abstract String |
getColumnName(int columnIndex)
Returns the column name at the given zero-based column index.
| ||||||||||
abstract String[] |
getColumnNames()
Returns a string array holding the names of all of the columns in the result
set in the order in which they were listed in the result.
| ||||||||||
abstract double |
getDouble(int columnIndex)
Returns the value of the requested column as a double.
| ||||||||||
abstract float |
getFloat(int columnIndex)
Returns the value of the requested column as a float.
| ||||||||||
abstract int |
getInt(int columnIndex)
Returns the value of the requested column as an integer.
| ||||||||||
abstract long |
getLong(int columnIndex)
Returns the value of the requested column as a long.
| ||||||||||
abstract int |
getPosition()
Returns the position of the current row in the row set.
| ||||||||||
abstract short |
getShort(int columnIndex)
Returns the value of the requested column as a short.
| ||||||||||
abstract String |
getString(int columnIndex)
Returns the value of the requested column as a String.
| ||||||||||
abstract int |
getType(int columnIndex)
Returns data type of the given column's value.
| ||||||||||
abstract boolean |
isNull(int columnIndex)
Returns true if the value in the indicated column is null.
|
Returns the value of the requested column as a byte array.
columnIndex | the zero-based index of the target column |
---|
Returns total number of columns
Returns the zero-based index for the given column name, or -1 if the column doesn't exist.
columnName | the name of the target column |
---|
Returns the column name at the given zero-based column index.
columnIndex | the zero-based index of the target column |
---|
Returns a string array holding the names of all of the columns in the result set in the order in which they were listed in the result.
Returns the value of the requested column as a double.
columnIndex | the zero-based index of the target column |
---|
Returns the value of the requested column as a float.
columnIndex | the zero-based index of the target column |
---|
Returns the value of the requested column as an integer.
columnIndex | the zero-based index of the target column |
---|
Returns the value of the requested column as a long.
columnIndex | the zero-based index of the target column |
---|
Returns the position of the current row in the row set. The value is zero-based. When the row set is first returned the position will be at -1, which is before the first row.
Returns the value of the requested column as a short.
columnIndex | the zero-based index of the target column |
---|
Returns the value of the requested column as a String.
columnIndex | the zero-based index of the target column |
---|
Returns data type of the given column's value. The preferred type of the
column is returned but the data may be converted to other types as documented
in the get-type methods such as getInt(int)
, getFloat(int)
etc.
Returned column types are
columnIndex | the zero-based index of the target column |
---|
Returns true if the value in the indicated column is null.
columnIndex | the zero-based index of the target column. |
---|