Class ManualFeatureQueryResults

    • Constructor Detail

      • ManualFeatureQueryResults

        public ManualFeatureQueryResults​(FeatureDao featureDao,
                                         List<Long> featureIds)
        Constructor
        Parameters:
        featureDao - feature DAO
        featureIds - feature ids
      • ManualFeatureQueryResults

        public ManualFeatureQueryResults​(FeatureDao featureDao,
                                         String[] columns,
                                         List<Long> featureIds)
        Constructor
        Parameters:
        featureDao - feature DAO
        columns - columns
        featureIds - feature ids
        Since:
        3.5.0
    • Method Detail

      • getFeatureDao

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

        public String[] getColumns()
        Get the feature columns
        Returns:
        columns
        Since:
        3.5.0
      • getFeatureIds

        public List<Long> getFeatureIds()
        Get the feature ids
        Returns:
        feature ids
      • count

        public long count()
        Get the count of results
        Specified by:
        count in interface FeatureIndexResults
        Returns:
        count
      • ids

        public Iterable<Long> ids()
        Iterable for iterating over feature ids in place of feature rows
        Specified by:
        ids in interface FeatureIndexResults
        Returns:
        iterable ids