Uses of Interface
org.dizitart.no2.filters.Filter
-
Packages that use Filter Package Description org.dizitart.no2.collection org.dizitart.no2.filters org.dizitart.no2.repository -
-
Uses of Filter in org.dizitart.no2.collection
Methods in org.dizitart.no2.collection that return Filter Modifier and Type Method Description FilterFindPlan. getCollectionScanFilter()Gets theFilterfor collection scan if any.Methods in org.dizitart.no2.collection with parameters of type Filter Modifier and Type Method Description default DocumentCursorNitriteCollection. find(Filter filter)Applies a filter on the collection and returns a cursor to the selected documents.DocumentCursorNitriteCollection. find(Filter filter, FindOptions findOptions)Applies a filter on the collection and returns a customized cursor to the selected documents.default WriteResultNitriteCollection. remove(Filter filter)Removes matching elements from the collection.WriteResultNitriteCollection. remove(Filter filter, boolean justOne)Removes document from a collection.voidFindPlan. setCollectionScanFilter(Filter collectionScanFilter)Gets theFilterfor collection scan if any.default WriteResultNitriteCollection. update(Filter filter, Document update)Update documents in the collection.WriteResultNitriteCollection. update(Filter filter, Document update, UpdateOptions updateOptions)Updates document in the collection. -
Uses of Filter in org.dizitart.no2.filters
Classes in org.dizitart.no2.filters that implement Filter Modifier and Type Class Description classComparableFilterAn abstract class representing a filter that compares fields.classFieldBasedFilterThe base class for all field-based filters in Nitrite.classIndexOnlyFilterAn abstract class representing a filter that can be applied to an index.classIndexScanFilterRepresents a set of filter which can be applied on an index.classLogicalFilterRepresents a filter which does a logical operation (AND, OR) between a set of filters.classNitriteFilterAn abstract class representing a filter for Nitrite database.classStringFilterAn abstract class representing a filter for string values.Fields in org.dizitart.no2.filters declared as Filter Modifier and Type Field Description static FilterFilter. ALLA filter to select all elements.Methods in org.dizitart.no2.filters that return Filter Modifier and Type Method Description static FilterFilter. and(Filter... filters)Creates a filter that performs a logical AND operation on two or more filters.FilterNitriteFilter. and(Filter filter)Creates an and filter which performs a logical AND operation on two filters and selects the documents that satisfy both filters.static FilterFilter. byId(NitriteId nitriteId)Returns a filter that matches documents with the specified NitriteId.default FilterFilter. not()Creates a not filter which performs a logical NOT operation on a filter and selects the documents that do not satisfy the criteria.static FilterFilter. or(Filter... filters)Creates a filter that performs a logical OR operation on two or more filters.FilterNitriteFilter. 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.Methods in org.dizitart.no2.filters that return types with arguments of type Filter Modifier and Type Method Description List<Filter>LogicalFilter. getFilters()Methods in org.dizitart.no2.filters with parameters of type Filter Modifier and Type Method Description static FilterFilter. and(Filter... filters)Creates a filter that performs a logical AND operation on two or more filters.FilterNitriteFilter. and(Filter filter)Creates an and filter which performs a logical AND operation on two filters and selects the documents that satisfy both filters.NitriteFilterFluentFilter. elemMatch(Filter filter)Creates a filter that matches documents where the value of a field contains at least one element that matches the specified filter.static FilterFilter. or(Filter... filters)Creates a filter that performs a logical OR operation on two or more filters.FilterNitriteFilter. 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.Constructors in org.dizitart.no2.filters with parameters of type Filter Constructor Description LogicalFilter(Filter... filters)Instantiates a new Logical filter. -
Uses of Filter in org.dizitart.no2.repository
Methods in org.dizitart.no2.repository that return Filter Modifier and Type Method Description FilterEntityId. createUniqueFilter(Object value, NitriteMapper nitriteMapper)Creates a unique filter for the entity id.Methods in org.dizitart.no2.repository with parameters of type Filter Modifier and Type Method Description default Cursor<T>ObjectRepository. find(Filter filter)Applies a filter on the collection and returns a cursor to the selected objects.Cursor<T>ObjectRepository. find(Filter filter, FindOptions findOptions)Applies a filter on the collection and returns a customized cursor to the selected objects.default WriteResultObjectRepository. remove(Filter filter)Removes matching elements from the collection.WriteResultObjectRepository. remove(Filter filter, boolean justOne)Removes object from the collection.default WriteResultObjectRepository. update(Filter filter, Document update)Updates object in the repository by setting the field specified indocument.WriteResultObjectRepository. update(Filter filter, Document update, boolean justOnce)Updates object in the repository by setting the field specified indocument.default WriteResultObjectRepository. update(Filter filter, T update)Updates object in the repository.WriteResultObjectRepository. update(Filter filter, T update, UpdateOptions updateOptions)Updates object in the repository.
-