Package mil.nga.geopackage.user.custom
Class UserCustomResultSet
- java.lang.Object
-
- mil.nga.geopackage.db.ResultSetResult
-
- mil.nga.geopackage.user.UserResultSet<UserCustomColumn,UserCustomTable,UserCustomRow>
-
- mil.nga.geopackage.user.custom.UserCustomResultSet
-
- All Implemented Interfaces:
Iterable<UserCustomRow>
,Result
,UserCoreResult<UserCustomColumn,UserCustomTable,UserCustomRow>
public class UserCustomResultSet extends UserResultSet<UserCustomColumn,UserCustomTable,UserCustomRow>
User Custom Result Set to wrap a database ResultSet for tile queries- Since:
- 3.0.1
- Author:
- osbornb
-
-
Field Summary
-
Fields inherited from class mil.nga.geopackage.db.ResultSetResult
resultSet
-
-
Constructor Summary
Constructors Constructor Description UserCustomResultSet(UserCustomTable table, String[] columns, ResultSet resultSet, int count)
ConstructorUserCustomResultSet(UserCustomTable table, String[] columns, ResultSet resultSet, String sql, String[] selectionArgs)
ConstructorUserCustomResultSet(UserCustomTable table, ResultSet resultSet, int count)
ConstructorUserCustomResultSet(UserCustomTable table, ResultSet resultSet, String sql, String[] selectionArgs)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserCustomColumns
getColumns()
UserCustomRow
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
-
UserCustomResultSet
public UserCustomResultSet(UserCustomTable table, ResultSet resultSet, int count)
Constructor- Parameters:
table
- user custom tableresultSet
- result setcount
- result count
-
UserCustomResultSet
public UserCustomResultSet(UserCustomTable table, String[] columns, ResultSet resultSet, int count)
Constructor- Parameters:
table
- user custom tablecolumns
- columnsresultSet
- result setcount
- result count- Since:
- 3.5.0
-
UserCustomResultSet
public UserCustomResultSet(UserCustomTable table, ResultSet resultSet, String sql, String[] selectionArgs)
Constructor- Parameters:
table
- user custom tableresultSet
- result setsql
- SQL statementselectionArgs
- selection arguments- Since:
- 4.0.0
-
UserCustomResultSet
public UserCustomResultSet(UserCustomTable table, String[] columns, ResultSet resultSet, String sql, String[] selectionArgs)
Constructor- Parameters:
table
- user custom tablecolumns
- columnsresultSet
- result setsql
- SQL statementselectionArgs
- selection arguments- Since:
- 4.0.0
-
-
Method Detail
-
getRow
public UserCustomRow getRow(int[] columnTypes, Object[] values)
-
getColumns
public UserCustomColumns getColumns()
- Specified by:
getColumns
in interfaceUserCoreResult<UserCustomColumn,UserCustomTable,UserCustomRow>
- Overrides:
getColumns
in classUserResultSet<UserCustomColumn,UserCustomTable,UserCustomRow>
-
-