Package mil.nga.geopackage.features.user
Class FeatureRow
java.lang.Object
mil.nga.geopackage.user.UserCoreRow<FeatureColumn,FeatureTable>
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcolumnToContentValue(android.content.ContentValues contentValues, FeatureColumn column, Object value) Map the column to the content valuescopy()Copy the rowprotected ObjectcopyValue(FeatureColumn column, Object value) Get the geometryGet the geometry feature columnintGet the geometry column indexGet the geometry column nameGet the geometry envelopeGet the simple features geometry typeGet the simple features geometry valuevoidsetGeometry(GeoPackageGeometryData geometryData) Set the geometry datavoidMethods inherited from class mil.nga.geopackage.user.UserRow
isValid, setValid, toContentValues, toContentValuesMethods 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:
getColumnsin classUserCoreRow<FeatureColumn,FeatureTable>
-
setValue
Handles geometry columns
- Overrides:
setValuein classUserCoreRow<FeatureColumn,FeatureTable>
-
copyValue
Handles geometry columns
- Overrides:
copyValuein classUserCoreRow<FeatureColumn,FeatureTable>
-
columnToContentValue
protected void columnToContentValue(android.content.ContentValues contentValues, FeatureColumn column, Object value) Map the column to the content valuesHandles geometry columns
- Overrides:
columnToContentValuein 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
-