Class ManualFeatureQuery


  • public class ManualFeatureQuery
    extends Object
    Performs manual brute force queries against feature rows. See FeatureIndexManager for performing indexed queries.
    Since:
    3.1.0
    Author:
    osbornb
    • Field Detail

      • chunkLimit

        protected int chunkLimit
        Query single chunk limit
      • tolerance

        protected double tolerance
        Query range tolerance
    • Constructor Detail

      • ManualFeatureQuery

        public ManualFeatureQuery​(FeatureDao featureDao)
        Constructor
        Parameters:
        featureDao - feature DAO
      • ManualFeatureQuery

        public ManualFeatureQuery​(FeatureDao featureDao,
                                  boolean geodesic)
        Constructor
        Parameters:
        featureDao - feature DAO
        geodesic - index using geodesic bounds
        Since:
        6.6.5
    • Method Detail

      • getFeatureDao

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

        public int getChunkLimit()
        Get the SQL query chunk limit
        Returns:
        chunk limit
      • setChunkLimit

        public void setChunkLimit​(int chunkLimit)
        Set the SQL query chunk limit
        Parameters:
        chunkLimit - chunk limit
      • 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
      • isGeodesic

        public boolean isGeodesic()
        Geometries indexed using geodesic lines
        Returns:
        geodesic flag
        Since:
        6.6.5
      • setGeodesic

        public void setGeodesic​(boolean geodesic)
        Set the geodestic flag, true to index geodesic geometries
        Parameters:
        geodesic - index geodesic geometries flag
        Since:
        6.6.5
      • query

        public FeatureResultSet query()
        Query for features
        Returns:
        feature results
        Since:
        3.4.0
      • query

        public FeatureResultSet query​(boolean distinct)
        Query for features
        Parameters:
        distinct - distinct rows
        Returns:
        feature results
        Since:
        4.0.0
      • query

        public FeatureResultSet query​(String[] columns)
        Query for features
        Parameters:
        columns - columns
        Returns:
        feature results
        Since:
        3.5.0
      • query

        public FeatureResultSet query​(boolean distinct,
                                      String[] columns)
        Query for features
        Parameters:
        distinct - distinct rows
        columns - columns
        Returns:
        feature results
        Since:
        4.0.0
      • count

        public int count()
        Get the count of features
        Returns:
        count
      • countWithGeometries

        public int countWithGeometries()
        Get the count of features with non null geometries
        Returns:
        count
      • countColumn

        public int countColumn​(String column)
        Get a count of results
        Parameters:
        column - count column name
        Returns:
        count
        Since:
        4.0.0
      • count

        public int count​(boolean distinct,
                         String column)
        Get a count of results
        Parameters:
        distinct - distinct column values
        column - count column name
        Returns:
        count
        Since:
        4.0.0
      • query

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

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

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

        public FeatureResultSet query​(boolean distinct,
                                      String[] columns,
                                      Map<String,​Object> fieldValues)
        Query for features
        Parameters:
        distinct - distinct rows
        columns - columns
        fieldValues - field values
        Returns:
        feature results
        Since:
        4.0.0
      • count

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

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

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

        public FeatureResultSet query​(String where)
        Query for features
        Parameters:
        where - where clause
        Returns:
        feature results
        Since:
        3.4.0
      • query

        public FeatureResultSet query​(boolean distinct,
                                      String where)
        Query for features
        Parameters:
        distinct - distinct rows
        where - where clause
        Returns:
        feature results
        Since:
        4.0.0
      • query

        public FeatureResultSet query​(String[] columns,
                                      String where)
        Query for features
        Parameters:
        columns - columns
        where - where clause
        Returns:
        feature results
        Since:
        3.5.0
      • query

        public FeatureResultSet query​(boolean distinct,
                                      String[] columns,
                                      String where)
        Query for features
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        Returns:
        feature results
        Since:
        4.0.0
      • count

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

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

        public int count​(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
      • query

        public FeatureResultSet query​(String where,
                                      String[] whereArgs)
        Query for features
        Parameters:
        where - where clause
        whereArgs - where arguments
        Returns:
        feature results
        Since:
        3.4.0
      • query

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

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

        public FeatureResultSet query​(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 results
        Since:
        4.0.0
      • count

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

        public int count​(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
      • count

        public int count​(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
      • getBoundingBox

        public BoundingBox getBoundingBox()
        Manually build the bounds of the feature table
        Returns:
        bounding box
      • getBoundingBox

        public BoundingBox getBoundingBox​(Projection projection)
        Manually build the bounds of the feature table in the provided projection
        Parameters:
        projection - desired projection
        Returns:
        bounding box
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox)
        Manually query for rows within the bounding box
        Parameters:
        boundingBox - bounding box
        Returns:
        results
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        Returns:
        results
        Since:
        4.0.0
      • query

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

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

        public long count​(BoundingBox boundingBox)
        Manually count the rows within the bounding box
        Parameters:
        boundingBox - bounding box
        Returns:
        count
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box
        Parameters:
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               BoundingBox boundingBox,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               BoundingBox boundingBox,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(BoundingBox boundingBox,
                          Map<String,​Object> fieldValues)
        Manually count the rows within the bounding box
        Parameters:
        boundingBox - bounding box
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               String where)
        Manually query for rows within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox,
                                               String where)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        where - where clause
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               BoundingBox boundingBox,
                                               String where)
        Manually query for rows within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        where - where clause
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               BoundingBox boundingBox,
                                               String where)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        where - where clause
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(BoundingBox boundingBox,
                          String where)
        Manually count the rows within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               BoundingBox boundingBox,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box
        Parameters:
        columns - columns
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               BoundingBox boundingBox,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(BoundingBox boundingBox,
                          String where,
                          String[] whereArgs)
        Manually count the rows within the bounding box
        Parameters:
        boundingBox - bounding box
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               Projection projection)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        Returns:
        results
      • query

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

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

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

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

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               Projection projection,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        columns - columns
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(BoundingBox boundingBox,
                          Projection projection,
                          Map<String,​Object> fieldValues)
        Manually count the rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               Projection projection,
                                               String where)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               String where)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               String where)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        results
        Since:
        3.5.0
      • query

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

        public long count​(BoundingBox boundingBox,
                          Projection projection,
                          String where)
        Manually count the rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(BoundingBox boundingBox,
                                               Projection projection,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        distinct - distinct rows
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounding box in the provided projection
        Parameters:
        columns - columns
        boundingBox - bounding box
        projection - projection
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               BoundingBox boundingBox,
                                               Projection projection,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows 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:
        results
        Since:
        4.0.0
      • count

        public long count​(BoundingBox boundingBox,
                          Projection projection,
                          String where,
                          String[] whereArgs)
        Manually count the rows 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
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               GeometryEnvelope envelope)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        Returns:
        results
        Since:
        4.0.0
      • query

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

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

        public long count​(GeometryEnvelope envelope)
        Manually count the rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        Returns:
        count
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               GeometryEnvelope envelope,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               GeometryEnvelope envelope,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(GeometryEnvelope envelope,
                          Map<String,​Object> fieldValues)
        Manually count the rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        fieldValues - field values
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(GeometryEnvelope envelope,
                                               String where)
        Manually query for rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               GeometryEnvelope envelope,
                                               String where)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        where - where clause
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               GeometryEnvelope envelope,
                                               String where)
        Manually query for rows within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        where - where clause
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               GeometryEnvelope envelope,
                                               String where)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        where - where clause
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(GeometryEnvelope envelope,
                          String where)
        Manually count the rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        Returns:
        count
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(GeometryEnvelope envelope,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               GeometryEnvelope envelope,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               GeometryEnvelope envelope,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the geometry envelope
        Parameters:
        columns - columns
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               GeometryEnvelope envelope,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the geometry envelope
        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(GeometryEnvelope envelope,
                          String where,
                          String[] whereArgs)
        Manually count the rows within the geometry envelope
        Parameters:
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        Returns:
        count
        Since:
        3.4.0
      • query

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

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

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

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY)
        Manually 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:
        results
        Since:
        4.0.0
      • count

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

        public ManualFeatureQueryResults query​(double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        results
        Since:
        3.4.0
      • query

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

        public ManualFeatureQueryResults query​(String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               Map<String,​Object> fieldValues)
        Manually query for rows within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        fieldValues - field values
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               Map<String,​Object> fieldValues)
        Manually query for rows 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:
        results
        Since:
        4.0.0
      • count

        public long count​(double minX,
                          double minY,
                          double maxX,
                          double maxY,
                          Map<String,​Object> fieldValues)
        Manually count the rows 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
      • query

        public ManualFeatureQueryResults query​(double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where)
        Manually query for rows within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where)
        Manually query for rows within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where)
        Manually query for rows within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where)
        Manually query for rows 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:
        results
        Since:
        4.0.0
      • count

        public long count​(double minX,
                          double minY,
                          double maxX,
                          double maxY,
                          String where)
        Manually count the rows 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
      • query

        public ManualFeatureQueryResults query​(double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where args
        Returns:
        results
        Since:
        3.4.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounds
        Parameters:
        distinct - distinct rows
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where args
        Returns:
        results
        Since:
        4.0.0
      • query

        public ManualFeatureQueryResults query​(String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows within the bounds
        Parameters:
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where args
        Returns:
        results
        Since:
        3.5.0
      • query

        public ManualFeatureQueryResults query​(boolean distinct,
                                               String[] columns,
                                               double minX,
                                               double minY,
                                               double maxX,
                                               double maxY,
                                               String where,
                                               String[] whereArgs)
        Manually query for rows 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 args
        Returns:
        results
        Since:
        4.0.0
      • count

        public long count​(double minX,
                          double minY,
                          double maxX,
                          double maxY,
                          String where,
                          String[] whereArgs)
        Manually count the rows within the bounds
        Parameters:
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where args
        Returns:
        count
        Since:
        3.4.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(Map<String,​Object> fieldValues,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        fieldValues - field values
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(Map<String,​Object> fieldValues,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        fieldValues - field values
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              Map<String,​Object> fieldValues,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        fieldValues - field values
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              Map<String,​Object> fieldValues,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        fieldValues - field values
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              Map<String,​Object> fieldValues,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        fieldValues - field values
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              Map<String,​Object> fieldValues,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        fieldValues - field values
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              Map<String,​Object> fieldValues,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        fieldValues - field values
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              Map<String,​Object> fieldValues,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        fieldValues - field values
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              Map<String,​Object> fieldValues,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        fieldValues - field values
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(String where,
                                                   int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(String where,
                                                   int limit,
                                                   long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String where,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String where,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(boolean distinct,
                                                   String where,
                                                   int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(boolean distinct,
                                                   String where,
                                                   int limit,
                                                   long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String where,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String where,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(String[] columns,
                                                   String where,
                                                   int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(String[] columns,
                                                   String where,
                                                   int limit,
                                                   long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String where,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String where,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(boolean distinct,
                                                   String[] columns,
                                                   String where,
                                                   int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunkWhere

        public FeatureResultSet queryForChunkWhere​(boolean distinct,
                                                   String[] columns,
                                                   String where,
                                                   int limit,
                                                   long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              String where,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              String where,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String where,
                                              String[] whereArgs,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        whereArgs - where arguments
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String where,
                                              String[] whereArgs,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        whereArgs - where arguments
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String where,
                                              String[] whereArgs,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        whereArgs - where arguments
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String where,
                                              String[] whereArgs,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        whereArgs - where arguments
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String where,
                                              String[] whereArgs,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        whereArgs - where arguments
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String where,
                                              String[] whereArgs,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        whereArgs - where arguments
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(String[] columns,
                                              String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        columns - columns
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public FeatureResultSet queryForChunk​(boolean distinct,
                                              String[] columns,
                                              String where,
                                              String[] whereArgs,
                                              String orderBy,
                                              int limit,
                                              long offset)
        Query for features, starting at the offset and returning no more than the limit
        Parameters:
        distinct - distinct rows
        columns - columns
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        feature results
        Since:
        6.2.0
      • queryForChunk

        public ManualFeatureQueryResults queryForChunk​(boolean distinct,
                                                       String[] columns,
                                                       GeometryEnvelope envelope,
                                                       String where,
                                                       String[] whereArgs,
                                                       String orderBy,
                                                       int limit,
                                                       long offset)
        Manually query for rows within the geometry envelope, starting at the offset and returning no more than the limit

        WARNING: This method must iterate from the 0 offset each time, is extremely inefficient, and not recommended for use

        Parameters:
        distinct - distinct rows
        columns - columns
        envelope - geometry envelope
        where - where clause
        whereArgs - where arguments
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        results
        Since:
        6.2.0
      • queryForChunk

        public ManualFeatureQueryResults queryForChunk​(boolean distinct,
                                                       String[] columns,
                                                       double minX,
                                                       double minY,
                                                       double maxX,
                                                       double maxY,
                                                       String where,
                                                       String[] whereArgs,
                                                       String orderBy,
                                                       int limit,
                                                       long offset)
        Manually query for rows within the bounds, starting at the offset and returning no more than the limit

        WARNING: This method must iterate from the 0 offset each time, is extremely inefficient, and not recommended for use

        Parameters:
        distinct - distinct rows
        columns - columns
        minX - min x
        minY - min y
        maxX - max x
        maxY - max y
        where - where clause
        whereArgs - where args
        orderBy - order by
        limit - chunk limit
        offset - chunk query offset
        Returns:
        results
        Since:
        6.2.0