TColumn - TTable - TRow - public interface UserCoreResult<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the result
|
byte[] |
getBlob(int columnIndex)
Returns the value of the requested column as a byte array.
|
int |
getColumnIndex(String columnName)
Returns the zero-based index for the given column name, or -1 if the
column doesn't exist.
|
int |
getCount()
Get the count of results
|
double |
getDouble(int columnIndex)
Returns the value of the requested column as an double.
|
float |
getFloat(int columnIndex)
Returns the value of the requested column as an float.
|
int |
getInt(int columnIndex)
Returns the value of the requested column as an int.
|
long |
getLong(int columnIndex)
Returns the value of the requested column as an long.
|
TRow |
getRow()
Get the row at the current cursor position
|
TRow |
getRow(int[] columnTypes,
Object[] values)
Get a row using the column types and values
|
short |
getShort(int columnIndex)
Returns the value of the requested column as an short.
|
String |
getString(int columnIndex)
Returns the value of the requested column as a String.
|
TTable |
getTable()
Get the table
|
int |
getType(int columnIndex)
Returns data type of the given column's value
|
Object |
getValue(int index,
GeoPackageDataType dataType)
Get the value for the column
|
Object |
getValue(TColumn column)
Get the value for the column
|
boolean |
moveToFirst()
Move the cursor to the first row.
|
boolean |
moveToNext()
Move the cursor to the next row.
|
boolean |
moveToPosition(int position)
Move the cursor to an absolute position
|
boolean |
wasNull()
Was the last value retrieved null
|
TRow getRow(int[] columnTypes, Object[] values)
columnTypes - values - Object getValue(int index, GeoPackageDataType dataType)
index - dataType - TTable getTable()
TRow getRow()
int getCount()
boolean moveToNext()
boolean moveToFirst()
boolean moveToPosition(int position)
position - int getType(int columnIndex)
int getColumnIndex(String columnName)
columnName - String getString(int columnIndex)
columnIndex - long getLong(int columnIndex)
columnIndex - int getInt(int columnIndex)
columnIndex - short getShort(int columnIndex)
columnIndex - double getDouble(int columnIndex)
columnIndex - float getFloat(int columnIndex)
columnIndex - byte[] getBlob(int columnIndex)
columnIndex - boolean wasNull()
void close()
Copyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.