Package mil.nga.geopackage.features.user
Class FeatureRow
java.lang.Object
mil.nga.geopackage.user.UserCoreRow<TColumn,TTable>
mil.nga.geopackage.user.UserRow<FeatureColumn,FeatureTable>
mil.nga.geopackage.features.user.FeatureRow
Feature Row containing the values from a single cursor row
-
Field Summary
Fields inherited from class mil.nga.geopackage.user.UserCoreRow
columns, columnTypes, table, values
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
columnToContentValue
(ContentValues contentValues, FeatureColumn column, Object value) Map the column to the content valuescopy()
Copy the rowprotected Object
copyValue
(FeatureColumn column, Object value) Get the geometryGet the geometry feature columnint
Get the geometry column indexGet the geometry column nameGet the geometry envelopeGet the simple features geometry typeGet the simple features geometry valuevoid
setGeometry
(GeoPackageGeometryData geometryData) Set the geometry datavoid
Methods inherited from class mil.nga.geopackage.user.UserRow
isValid, setValid, toContentValues, toContentValues
Methods inherited from class mil.nga.geopackage.user.UserCoreRow
columnCount, getAsMap, getColumn, getColumn, getColumnIndex, getColumnName, getColumnNames, getId, getPkColumn, getPkColumnIndex, getRowColumnType, getRowColumnType, getRowColumnTypes, getTable, getValue, getValue, getValues, getValueString, getValueString, hasColumn, hasId, hasIdColumn, resetId, setId, setValue, validateValue
-
Constructor Details
-
FeatureRow
Copy Constructor- Parameters:
featureRow
- feature row to copy- Since:
- 1.4.0
-
-
Method Details
-
getColumns
- Overrides:
getColumns
in classUserCoreRow<FeatureColumn,
FeatureTable>
-
setValue
Handles geometry columns
- Overrides:
setValue
in classUserCoreRow<FeatureColumn,
FeatureTable>
-
copyValue
Handles geometry columns
- Overrides:
copyValue
in classUserCoreRow<FeatureColumn,
FeatureTable>
-
columnToContentValue
protected void columnToContentValue(ContentValues contentValues, FeatureColumn column, Object value) Map the column to the content valuesHandles geometry columns
- Overrides:
columnToContentValue
in classUserRow<FeatureColumn,
FeatureTable> - Parameters:
contentValues
- content valuescolumn
- columnvalue
- value
-
getGeometryColumnIndex
public int getGeometryColumnIndex()Get the geometry column index- Returns:
- geometry column index
-
getGeometryColumn
Get the geometry feature column- Returns:
- geometry column
-
getGeometryColumnName
Get the geometry column name- Returns:
- geometry column name
- Since:
- 3.5.0
-
getGeometry
Get the geometry- Returns:
- geometry data
-
setGeometry
Set the geometry data- Parameters:
geometryData
- geometry data
-
getGeometryValue
Get the simple features geometry value- Returns:
- geometry
- Since:
- 3.1.0
-
getGeometryType
Get the simple features geometry type- Returns:
- geometry type
- Since:
- 3.2.0
-
getGeometryEnvelope
Get the geometry envelope- Returns:
- geometry envelope
- Since:
- 3.1.0
-
copy
Copy the row- Returns:
- row copy
- Since:
- 3.0.1
-