Package mil.nga.geopackage.user
Interface UserCoreResult<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>>
- 
- Type Parameters:
- TColumn- column type
- TTable- table type
- TRow- row type
 
 public interface UserCoreResult<TColumn extends UserColumn,TTable extends UserTable<TColumn>,TRow extends UserCoreRow<TColumn,TTable>> extends Result, Iterable<TRow> Abstract User Cursor- Author:
- osbornb
 
- 
- 
Method SummaryAll 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 valuesString[]getSelectionArgs()Get the SQL selection arguments (if available)StringgetSql()Get the SQL statement (if available)TTablegetTable()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 columnIterable<Long>ids()Iterable for iterating over result ids in place of rows- 
Methods inherited from interface java.lang.IterableforEach, iterator, spliterator
 - 
Methods inherited from interface mil.nga.geopackage.db.Resultclose, getBlob, getColumnCount, getColumnIndex, getDouble, getFloat, getInt, getLong, getPosition, getShort, getString, getType, getValue, moveToFirst, moveToNext, moveToPosition, wasNull
 
- 
 
- 
- 
- 
Method Detail- 
getRowTRow getRow(int[] columnTypes, Object[] values) Get a row using the column types and values- Parameters:
- columnTypes- column types
- values- values
- Returns:
- row
 
 - 
getValueObject getValue(TColumn column) Get the value for the column- Parameters:
- column- column
- Returns:
- value
 
 - 
getValueObject getValue(int index) Get the value for the column index
 - 
getValueObject getValue(String columnName) Get the value for the column name- Parameters:
- columnName- column name
- Returns:
- value
- Since:
- 3.4.0
 
 - 
getIdlong getId() Get the primary key value- Returns:
- value
- Since:
- 3.4.0
 
 - 
getTableTTable getTable() Get the table- Returns:
- table
 
 - 
getTableNameString getTableName() Get the table name- Returns:
- table name
- Since:
- 3.5.0
 
 - 
getColumnsUserColumns<TColumn> getColumns() Get the columns- Returns:
- columns
- Since:
- 3.5.0
 
 - 
getRowTRow getRow() Get the row at the current cursor position- Returns:
- row
 
 - 
getCountint getCount() Get the count of results- Returns:
- count, -1 if not able to determine
 
 - 
getSqlString getSql() Get the SQL statement (if available)- Returns:
- SQL statement
- Since:
- 6.2.0
 
 - 
getSelectionArgsString[] getSelectionArgs() Get the SQL selection arguments (if available)- Returns:
- selection arguments
- Since:
- 6.2.0
 
 
- 
 
-