public interface Result
| 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 |
getColumnCount()
Get the number of columns
|
int |
getColumnIndex(String columnName)
Returns the zero-based index for the given column name, or -1 if the
column doesn't exist.
|
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.
|
int |
getPosition()
Get the current position
|
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.
|
int |
getType(int columnIndex)
Returns data type of the given column's value
|
Object |
getValue(int index)
Get the value for the column
|
Object |
getValue(int index,
GeoPackageDataType dataType)
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
|
Object getValue(int index)
index - indexObject getValue(int index, GeoPackageDataType dataType)
index - indexdataType - data typeboolean moveToNext()
int getPosition()
boolean moveToFirst()
boolean moveToPosition(int position)
position - positionint getColumnCount()
int getType(int columnIndex)
columnIndex - column indexint getColumnIndex(String columnName)
columnName - column nameString getString(int columnIndex)
columnIndex - column indexlong getLong(int columnIndex)
columnIndex - column indexint getInt(int columnIndex)
columnIndex - column indexshort getShort(int columnIndex)
columnIndex - column indexdouble getDouble(int columnIndex)
columnIndex - column indexfloat getFloat(int columnIndex)
columnIndex - column indexbyte[] getBlob(int columnIndex)
columnIndex - column indexboolean wasNull()
void close()
Copyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.