Package mil.nga.geopackage.user
Interface UserCoreResult<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>>
-
- Type Parameters:
TColumn- column typeTTable- table typeTRow- row type
- All Superinterfaces:
Result
public interface UserCoreResult<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>> extends Result
Abstract User Cursor- Author:
- osbornb
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserColumns<TColumn>getColumns()Get the columnsintgetCount()Get the count of resultslonggetId()Get the primary key valueTRowgetRow()Get the row at the current cursor positionTRowgetRow(int[] columnTypes, Object[] values)Get a row using the column types and valuesTTablegetTable()Get the tableStringgetTableName()Get the table nameObjectgetValue(int index)Get the value for the column indexObjectgetValue(String columnName)Get the value for the column nameObjectgetValue(TColumn column)Get the value for the column-
Methods inherited from interface mil.nga.geopackage.db.Result
close, getBlob, getColumnCount, getColumnIndex, getDouble, getFloat, getInt, getLong, getPosition, getShort, getString, getType, getValue, moveToFirst, moveToNext, moveToPosition, wasNull
-
-
-
-
Method Detail
-
getRow
TRow getRow(int[] columnTypes, Object[] values)
Get a row using the column types and values- Parameters:
columnTypes- column typesvalues- values- Returns:
- row
-
getValue
Object getValue(TColumn column)
Get the value for the column- Parameters:
column- column- Returns:
- value
-
getValue
Object getValue(int index)
Get the value for the column index
-
getValue
Object getValue(String columnName)
Get the value for the column name- Parameters:
columnName- column name- Returns:
- value
- Since:
- 3.4.0
-
getId
long getId()
Get the primary key value- Returns:
- value
- Since:
- 3.4.0
-
getTable
TTable getTable()
Get the table- Returns:
- table
-
getTableName
String getTableName()
Get the table name- Returns:
- table name
- Since:
- 3.5.0
-
getColumns
UserColumns<TColumn> getColumns()
Get the columns- Returns:
- columns
- Since:
- 3.5.0
-
getRow
TRow getRow()
Get the row at the current cursor position- Returns:
- row
-
getCount
int getCount()
Get the count of results- Returns:
- count, -1 if not able to determine
-
-