Class BioSQLFeatureFilter.ByRank

    • Constructor Detail

      • ByRank

        public ByRank​(int rank)
        Create a Rank filter that filters in all features with rank fields equal to rank.
        rank - the rank to match type fields against
    • Method Detail

      • accept

        public boolean accept​(Feature f)
        Returns true if the feature has a matching type property.
        f - the Feature to evaluate
        true if this feature is to be selected in, or false if it is to be ignored
      • asCriterion

        public Object asCriterion()
        Description copied from interface: BioSQLFeatureFilter
        This method returns a Hibernate Criterion object that can be used to query the database.
        a Hibernate Criterion object representing this filter.