Package org.dizitart.no2.filters
Class NitriteFilter
java.lang.Object
org.dizitart.no2.filters.NitriteFilter
- All Implemented Interfaces:
Filter
- Direct Known Subclasses:
FieldBasedFilter,LogicalFilter
An abstract class representing a filter for Nitrite database.
- Since:
- 4.0
- Author:
- Anindya Chatterjee.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates an and filter which performs a logical AND operation on two filters and selects the documents that satisfy both filters.booleaninthashCode()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.voidsetCollectionName(String collectionName) voidsetNitriteConfig(NitriteConfig nitriteConfig) voidsetObjectFilter(Boolean objectFilter)
-
Constructor Details
-
NitriteFilter
public NitriteFilter()
-
-
Method Details
-
and
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
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
-
equals
-
hashCode
public int hashCode() -
getNitriteConfig
-
getCollectionName
-
getObjectFilter
-
setNitriteConfig
-
setCollectionName
-
setObjectFilter
-