Class NitriteFilter

  • All Implemented Interfaces:
    Filter
    Direct Known Subclasses:
    FieldBasedFilter, LogicalFilter

    public abstract class NitriteFilter
    extends Object
    implements Filter
    An abstract class representing a filter for Nitrite database.
    Since:
    4.0
    Author:
    Anindya Chatterjee.
    • Constructor Detail

      • NitriteFilter

        public NitriteFilter()
    • Method Detail

      • and

        public Filter and​(Filter filter)
        Creates an and filter which performs a logical AND operation on two filters and selects the documents that satisfy both filters.

        Parameters:
        filter - other filter
        Returns:
        the and filter
      • or

        public Filter or​(Filter filter)
        Creates an or filter which performs a logical OR operation on two filters and selects the documents that satisfy at least one of the filter.

        Parameters:
        filter - other filter
        Returns:
        the or filter
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getCollectionName

        public String getCollectionName()
      • getObjectFilter

        public Boolean getObjectFilter()
      • setNitriteConfig

        public void setNitriteConfig​(NitriteConfig nitriteConfig)
      • setCollectionName

        public void setCollectionName​(String collectionName)
      • setObjectFilter

        public void setObjectFilter​(Boolean objectFilter)