Class RTreeIndexTableDao


  • public class RTreeIndexTableDao
    extends UserCustomDao
    RTree Index Table DAO for reading geometry index ranges
    Since:
    3.1.0
    • Field Detail

      • tolerance

        protected double tolerance
        Query range tolerance
    • Method Detail

      • setProgress

        public void setProgress​(GeoPackageProgress progress)
        Set the progress tracker
        Parameters:
        progress - progress tracker
      • getTolerance

        public double getTolerance()
        Get the query range tolerance
        Returns:
        query range tolerance
      • setTolerance

        public void setTolerance​(double tolerance)
        Set the query range tolerance
        Parameters:
        tolerance - query range tolerance
      • has

        public boolean has()
        Determine if this feature table has the RTree extension
        Returns:
        true if has extension
      • create

        public Extensions create()
        Create the RTree extension for the feature table
        Returns:
        extension
      • delete

        public void delete()
        Delete the RTree extension for the feature table
      • getRTreeIndexExtension

        public RTreeIndexExtension getRTreeIndexExtension()
        Get the RTree index extension
        Returns:
        RTree index extension
      • getFeatureDao

        public FeatureDao getFeatureDao()
        Get the feature DAO
        Returns:
        feature DAO
      • getRow

        public RTreeIndexTableRow getRow​(UserCustomCursor cursor)
        Get the RTree Index Table row from the current result set location
        Parameters:
        cursor - result cursor
        Returns:
        RTree Index Table row
      • getRow

        public RTreeIndexTableRow getRow​(UserCustomRow row)
        Get the RTree Index Table row from the user custom row
        Parameters:
        row - custom row
        Returns:
        RTree Index Table row
      • getFeatureRow

        public FeatureRow getFeatureRow​(RTreeIndexTableRow row)
        Get the feature row from the RTree Index Table row
        Parameters:
        row - RTree Index Table row
        Returns:
        feature row
      • getFeatureRow

        public FeatureRow getFeatureRow​(UserCustomCursor cursor)
        Get the feature row from the RTree Index Table row
        Parameters:
        cursor - result cursor
        Returns:
        feature row
      • getFeatureRow

        public FeatureRow getFeatureRow​(UserCustomRow row)
        Get the feature row from the user custom row
        Parameters:
        row - custom row
        Returns:
        feature row
      • queryFeatures

        public FeatureCursor queryFeatures()
        Query for all features
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct)
        Query for all features
        Parameters:
        distinct - distinct rows
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns)
        Query for all features
        Parameters:
        columns - columns
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns)
        Query for all features
        Parameters:
        distinct - distinct rows
        columns - columns
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures()
        Count features
        Returns:
        count
        Since:
        4.0.0
      • countColumnFeatures

        public int countColumnFeatures​(String column)
        Count features
        Parameters:
        column - count column name
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column)
        Count features
        Parameters:
        distinct - distinct column values
        column - count column name
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(Map<String,​Object> fieldValues)
        Query for features
        Parameters:
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           Map<String,​Object> fieldValues)
        Query for features
        Parameters:
        distinct - distinct rows
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           Map<String,​Object> fieldValues)
        Query for features
        Parameters:
        columns - columns
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           Map<String,​Object> fieldValues)
        Query for features
        Parameters:
        distinct - distinct rows
        columns - columns
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(Map<String,​Object> fieldValues)
        Count features
        Parameters:
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 Map<String,​Object> fieldValues)
        Count features
        Parameters:
        column - count column value
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 Map<String,​Object> fieldValues)
        Count features
        Parameters:
        distinct - distinct column values
        column - count column value
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String where)
        Query for features
        Parameters:
        where - where clause
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String where)
        Query for features
        Parameters:
        distinct - distinct rows
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           String where)
        Query for features
        Parameters:
        columns - columns
        where - where clause
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           String where)
        Query for features
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(String where)
        Count features
        Parameters:
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 String where)
        Count features
        Parameters:
        column - count column name
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 String where)
        Count features
        Parameters:
        distinct - distinct column values
        column - count column name
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String where,
                                           String[] whereArgs)
        Query for features
        Parameters:
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String where,
                                           String[] whereArgs)
        Query for features
        Parameters:
        distinct - distinct rows
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           String where,
                                           String[] whereArgs)
        Query for features
        Parameters:
        columns - columns
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           String where,
                                           String[] whereArgs)
        Query for features
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(String where,
                                 String[] whereArgs)
        Count features
        Parameters:
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 String where,
                                 String[] whereArgs)
        Count features
        Parameters:
        column - count column name
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 String where,
                                 String[] whereArgs)
        Count features
        Parameters:
        distinct - distinct column values
        column - count column name
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(BoundingBox boundingBox)
        Query for rows within the bounding box
        Parameters:
        boundingBox - bounding box
        Returns:
        cursor
      • query

        public UserCustomCursor query​(boolean distinct,
                                      BoundingBox boundingBox)
        Query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        Returns:
        cursor
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(String[] columns,
                                      BoundingBox boundingBox)
        Query for rows within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        Returns:
        cursor
        Since:
        3.5.0
      • query

        public UserCustomCursor query​(boolean distinct,
                                      String[] columns,
                                      BoundingBox boundingBox)
        Query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        Returns:
        cursor
        Since:
        4.0.0
      • count

        public int count​(BoundingBox boundingBox)
        Count the rows within the bounding box
        Parameters:
        boundingBox - bounding box
        Returns:
        count
      • count

        public int count​(String column,
                         BoundingBox boundingBox)
        Count the rows within the bounding box
        Parameters:
        column - count column name
        boundingBox - bounding box
        Returns:
        count
        Since:
        4.0.0
      • count

        public int count​(boolean distinct,
                         String column,
                         BoundingBox boundingBox)
        Count the rows within the bounding box
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox)
        Query for features within the bounding box
        Parameters:
        boundingBox - bounding box
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox)
        Query for features within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox)
        Count the features within the bounding box
        Parameters:
        boundingBox - bounding box
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox)
        Count the features within the bounding box
        Parameters:
        column - count column values
        boundingBox - bounding box
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox)
        Count the features within the bounding box
        Parameters:
        distinct - distinct column values
        column - count column values
        boundingBox - bounding box
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box
        Parameters:
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounding box
        Parameters:
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounding box
        Parameters:
        column - count column name
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounding box
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           String where)
        Query for features within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           String where)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           String where)
        Query for features within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        where - where clause
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           String where)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 String where)
        Count the features within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 String where)
        Count the features within the bounding box
        Parameters:
        column - count column name
        boundingBox - bounding box
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 String where)
        Count the features within the bounding box
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounding box
        Parameters:
        column - count column name
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounding box
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(BoundingBox boundingBox,
                                      Projection projection)
        Query for rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        Returns:
        cursor
      • query

        public UserCustomCursor query​(boolean distinct,
                                      BoundingBox boundingBox,
                                      Projection projection)
        Query for rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        Returns:
        cursor
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(String[] columns,
                                      BoundingBox boundingBox,
                                      Projection projection)
        Query for rows within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        Returns:
        cursor
        Since:
        3.5.0
      • query

        public UserCustomCursor query​(boolean distinct,
                                      String[] columns,
                                      BoundingBox boundingBox,
                                      Projection projection)
        Query for rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        projection - projection
        Returns:
        cursor
        Since:
        4.0.0
      • count

        public int count​(BoundingBox boundingBox,
                         Projection projection)
        Count the rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        Returns:
        count
      • count

        public int count​(String column,
                         BoundingBox boundingBox,
                         Projection projection)
        Count the rows within the bounding box in the provided projection
        Parameters:
        column - count column name
        boundingBox - bounding box
        projection - projection
        Returns:
        count
        Since:
        4.0.0
      • count

        public int count​(boolean distinct,
                         String column,
                         BoundingBox boundingBox,
                         Projection projection)
        Count the rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        projection - projection
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           Projection projection)
        Query for features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           Projection projection)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection)
        Query for features within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        projection - projection
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 Projection projection)
        Count the features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 Projection projection)
        Count the features within the bounding box in the provided projection
        Parameters:
        column - count column name
        boundingBox - bounding box
        projection - projection
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 Projection projection)
        Count the features within the bounding box in the provided projection
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        projection - projection
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           Projection projection,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 Projection projection,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 Projection projection,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounding box in the provided projection
        Parameters:
        column - count column name
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 Projection projection,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        column - count column name
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           Projection projection,
                                           String where)
        Query for features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           String where)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           String where)
        Query for features within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           String where)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 Projection projection,
                                 String where)
        Count the features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 Projection projection,
                                 String where)
        Count the features within the bounding box in the provided projection
        Parameters:
        column - count column name
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 Projection projection,
                                 String where)
        Count the features within the bounding box in the provided projection
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(BoundingBox boundingBox,
                                           Projection projection,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           BoundingBox boundingBox,
                                           Projection projection,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(BoundingBox boundingBox,
                                 Projection projection,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 BoundingBox boundingBox,
                                 Projection projection,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounding box in the provided projection
        Parameters:
        column - count column name
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 BoundingBox boundingBox,
                                 Projection projection,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounding box in the provided projection
        Parameters:
        distinct - distinct column values
        column - count column name
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(GeometryEnvelope envelope)
        Query for rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        Returns:
        cursor
      • query

        public UserCustomCursor query​(boolean distinct,
                                      GeometryEnvelope envelope)
        Query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        Returns:
        cursor
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(String[] columns,
                                      GeometryEnvelope envelope)
        Query for rows within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        Returns:
        cursor
        Since:
        3.5.0
      • query

        public UserCustomCursor query​(boolean distinct,
                                      String[] columns,
                                      GeometryEnvelope envelope)
        Query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        Returns:
        cursor
        Since:
        4.0.0
      • count

        public int count​(GeometryEnvelope envelope)
        Count the rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        Returns:
        count
      • count

        public int count​(String column,
                         GeometryEnvelope envelope)
        Count the rows within the geometry envelope
        Parameters:
        column - count column name
        envelope - geometry envelope
        Returns:
        count
        Since:
        4.0.0
      • count

        public int count​(boolean distinct,
                         String column,
                         GeometryEnvelope envelope)
        Count the rows within the geometry envelope
        Parameters:
        distinct - distinct column values
        column - count column name
        envelope - geometry envelope
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(GeometryEnvelope envelope)
        Query for features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           GeometryEnvelope envelope)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           GeometryEnvelope envelope)
        Query for features within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           GeometryEnvelope envelope)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(GeometryEnvelope envelope)
        Count the features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 GeometryEnvelope envelope)
        Count the features within the geometry envelope
        Parameters:
        column - count column name
        envelope - geometry envelope
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 GeometryEnvelope envelope)
        Count the features within the geometry envelope
        Parameters:
        distinct - distinct column values
        column - count column name
        envelope - geometry envelope
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(GeometryEnvelope envelope,
                                           Map<String,​Object> fieldValues)
        Query for features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           GeometryEnvelope envelope,
                                           Map<String,​Object> fieldValues)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           GeometryEnvelope envelope,
                                           Map<String,​Object> fieldValues)
        Query for features within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           GeometryEnvelope envelope,
                                           Map<String,​Object> fieldValues)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(GeometryEnvelope envelope,
                                 Map<String,​Object> fieldValues)
        Count the features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 GeometryEnvelope envelope,
                                 Map<String,​Object> fieldValues)
        Count the features within the geometry envelope
        Parameters:
        column - count column name
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 GeometryEnvelope envelope,
                                 Map<String,​Object> fieldValues)
        Count the features within the geometry envelope
        Parameters:
        distinct - distinct column values
        column - count column name
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(GeometryEnvelope envelope,
                                           String where)
        Query for features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           GeometryEnvelope envelope,
                                           String where)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           GeometryEnvelope envelope,
                                           String where)
        Query for features within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        where - where clause
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           GeometryEnvelope envelope,
                                           String where)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        where - where clause
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(GeometryEnvelope envelope,
                                 String where)
        Count the features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 GeometryEnvelope envelope,
                                 String where)
        Count the features within the geometry envelope
        Parameters:
        column - count column name
        envelope - geometry envelope
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 GeometryEnvelope envelope,
                                 String where)
        Count the features within the geometry envelope
        Parameters:
        distinct - distinct column values
        column - count column name
        envelope - geometry envelope
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(GeometryEnvelope envelope,
                                           String where,
                                           String[] whereArgs)
        Query for features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           GeometryEnvelope envelope,
                                           String where,
                                           String[] whereArgs)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           GeometryEnvelope envelope,
                                           String where,
                                           String[] whereArgs)
        Query for features within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           GeometryEnvelope envelope,
                                           String where,
                                           String[] whereArgs)
        Query for features within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        feature cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(GeometryEnvelope envelope,
                                 String where,
                                 String[] whereArgs)
        Count the features within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 GeometryEnvelope envelope,
                                 String where,
                                 String[] whereArgs)
        Count the features within the geometry envelope
        Parameters:
        column - count column name
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 GeometryEnvelope envelope,
                                 String where,
                                 String[] whereArgs)
        Count the features within the geometry envelope
        Parameters:
        distinct - distinct column values
        column - count column name
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(double minX,
                                      double minY,
                                      double maxX,
                                      double maxY)
        Query for rows within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
      • query

        public UserCustomCursor query​(boolean distinct,
                                      double minX,
                                      double minY,
                                      double maxX,
                                      double maxY)
        Query for rows within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        4.0.0
      • query

        public UserCustomCursor query​(String[] columns,
                                      double minX,
                                      double minY,
                                      double maxX,
                                      double maxY)
        Query for rows within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        3.5.0
      • query

        public UserCustomCursor query​(boolean distinct,
                                      String[] columns,
                                      double minX,
                                      double minY,
                                      double maxX,
                                      double maxY)
        Query for rows within the bounds
        Parameters:
        distinct - distinct rows
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        4.0.0
      • count

        public int count​(double minX,
                         double minY,
                         double maxX,
                         double maxY)
        Count the rows within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        count
      • count

        public int count​(String column,
                         double minX,
                         double minY,
                         double maxX,
                         double maxY)
        Count the rows within the bounds
        Parameters:
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        count
        Since:
        4.0.0
      • count

        public int count​(boolean distinct,
                         String column,
                         double minX,
                         double minY,
                         double maxX,
                         double maxY)
        Count the rows within the bounds
        Parameters:
        distinct - distinct column values
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(double minX,
                                           double minY,
                                           double maxX,
                                           double maxY)
        Query for features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY)
        Query for features within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(double minX,
                                 double minY,
                                 double maxX,
                                 double maxY)
        Count the features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY)
        Count the features within the bounds
        Parameters:
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY)
        Count the features within the bounds
        Parameters:
        distinct - distinct column values
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           Map<String,​Object> fieldValues)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounds
        Parameters:
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 Map<String,​Object> fieldValues)
        Count the features within the bounds
        Parameters:
        distinct - distinct column values
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where)
        Query for features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where)
        Query for features within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 String where)
        Count the features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 String where)
        Count the features within the bounds
        Parameters:
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 String where)
        Count the features within the bounds
        Parameters:
        distinct - distinct column values
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        count
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        cursor
        Since:
        3.4.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        cursor
        Since:
        4.0.0
      • queryFeatures

        public FeatureCursor queryFeatures​(String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        cursor
        Since:
        3.5.0
      • queryFeatures

        public FeatureCursor queryFeatures​(boolean distinct,
                                           String[] columns,
                                           double minX,
                                           double minY,
                                           double maxX,
                                           double maxY,
                                           String where,
                                           String[] whereArgs)
        Query for features within the bounds
        Parameters:
        distinct - distinct rows
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        cursor
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • countFeatures

        public int countFeatures​(String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounds
        Parameters:
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0
      • countFeatures

        public int countFeatures​(boolean distinct,
                                 String column,
                                 double minX,
                                 double minY,
                                 double maxX,
                                 double maxY,
                                 String where,
                                 String[] whereArgs)
        Count the features within the bounds
        Parameters:
        distinct - distinct column values
        column - count column name
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        4.0.0