Package mil.nga.geopackage.tiles.user
Class TileResultSet
- java.lang.Object
-
- mil.nga.geopackage.db.ResultSetResult
-
- mil.nga.geopackage.user.UserResultSet<TileColumn,TileTable,TileRow>
-
- mil.nga.geopackage.tiles.user.TileResultSet
-
- All Implemented Interfaces:
Iterable<TileRow>
,Result
,UserCoreResult<TileColumn,TileTable,TileRow>
public class TileResultSet extends UserResultSet<TileColumn,TileTable,TileRow>
Tile Result Set to wrap a database ResultSet for tile queries- Author:
- osbornb
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.db.ResultSetResult
resultSet
-
-
Constructor Summary
Constructors Constructor Description TileResultSet(TileTable table, String[] columns, ResultSet resultSet, int count)
ConstructorTileResultSet(TileTable table, String[] columns, ResultSet resultSet, String sql, String[] selectionArgs)
ConstructorTileResultSet(TileTable table, ResultSet resultSet, int count)
ConstructorTileResultSet(TileTable table, ResultSet resultSet, String sql, String[] selectionArgs)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TileColumns
getColumns()
TileRow
getRow(int[] columnTypes, Object[] values)
-
Methods inherited from class mil.nga.geopackage.user.UserResultSet
getCount, getId, getRow, getSelectionArgs, getSql, getTable, getTableName, getValue, getValue, getValue, ids, iterator
-
Methods inherited from class mil.nga.geopackage.db.ResultSetResult
close, getBlob, getColumnCount, getColumnIndex, getDouble, getFloat, getInt, getLong, getPosition, getResultSet, getShort, getString, getType, getValue, moveToFirst, moveToNext, moveToPosition, resultIndexToResultSetIndex, resultSetIndexToResultIndex, resultSetTypeToSqlLite, wasNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
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
-
-
-
-
Constructor Detail
-
TileResultSet
public TileResultSet(TileTable table, ResultSet resultSet, int count)
Constructor- Parameters:
table
- tile tableresultSet
- result setcount
- count
-
TileResultSet
public TileResultSet(TileTable table, String[] columns, ResultSet resultSet, int count)
Constructor- Parameters:
table
- tile tablecolumns
- columnsresultSet
- result setcount
- count- Since:
- 3.5.0
-
TileResultSet
public TileResultSet(TileTable table, ResultSet resultSet, String sql, String[] selectionArgs)
Constructor- Parameters:
table
- tile tableresultSet
- result setsql
- SQL statementselectionArgs
- selection arguments- Since:
- 4.0.0
-
-
Method Detail
-
getColumns
public TileColumns getColumns()
- Specified by:
getColumns
in interfaceUserCoreResult<TileColumn,TileTable,TileRow>
- Overrides:
getColumns
in classUserResultSet<TileColumn,TileTable,TileRow>
-
-