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