Class FeatureRow


public class FeatureRow extends UserRow<FeatureColumn,FeatureTable>
Feature Row containing the values from a single cursor row
  • Constructor Details

    • FeatureRow

      public FeatureRow(FeatureRow featureRow)
      Copy Constructor
      Parameters:
      featureRow - feature row to copy
      Since:
      1.4.0
  • Method Details

    • getColumns

      public FeatureColumns getColumns()
      Overrides:
      getColumns in class UserCoreRow<FeatureColumn,FeatureTable>
    • setValue

      public void setValue(int index, Object value)

      Handles geometry columns

      Overrides:
      setValue in class UserCoreRow<FeatureColumn,FeatureTable>
    • copyValue

      protected Object copyValue(FeatureColumn column, Object value)

      Handles geometry columns

      Overrides:
      copyValue in class UserCoreRow<FeatureColumn,FeatureTable>
    • columnToContentValue

      protected void columnToContentValue(ContentValues contentValues, FeatureColumn column, Object value)
      Map the column to the content values

      Handles geometry columns

      Overrides:
      columnToContentValue in class UserRow<FeatureColumn,FeatureTable>
      Parameters:
      contentValues - content values
      column - column
      value - value
    • getGeometryColumnIndex

      public int getGeometryColumnIndex()
      Get the geometry column index
      Returns:
      geometry column index
    • getGeometryColumn

      public FeatureColumn getGeometryColumn()
      Get the geometry feature column
      Returns:
      geometry column
    • getGeometryColumnName

      public String getGeometryColumnName()
      Get the geometry column name
      Returns:
      geometry column name
      Since:
      3.5.0
    • getGeometry

      public GeoPackageGeometryData getGeometry()
      Get the geometry
      Returns:
      geometry data
    • setGeometry

      public void setGeometry(GeoPackageGeometryData geometryData)
      Set the geometry data
      Parameters:
      geometryData - geometry data
    • getGeometryValue

      public Geometry getGeometryValue()
      Get the simple features geometry value
      Returns:
      geometry
      Since:
      3.1.0
    • getGeometryType

      public GeometryType getGeometryType()
      Get the simple features geometry type
      Returns:
      geometry type
      Since:
      3.2.0
    • getGeometryEnvelope

      public GeometryEnvelope getGeometryEnvelope()
      Get the geometry envelope
      Returns:
      geometry envelope
      Since:
      3.1.0
    • copy

      public FeatureRow copy()
      Copy the row
      Returns:
      row copy
      Since:
      3.0.1