public interface ObjectFilter extends Filter
An interface to specify filtering criteria during ObjectRepository
's
find operations. When a filter is applied to a repository, based on the
criteria it returns a set of NitriteId
s of matching records.
Each filtering criteria is based on a field in the object. If the field is
indexed, the find operation takes the advantage of it and only scans the
index map for that field. But if the field is not indexed, it scans the
whole ObjectRepository
.
Filter
Modifier and Type | Method and Description |
---|---|
void |
setNitriteMapper(NitriteMapper nitriteMapper)
Sets
NitriteMapper to the filter. |
apply, setNitriteService
void setNitriteMapper(NitriteMapper nitriteMapper)
Sets NitriteMapper
to the filter.
nitriteMapper
- the NitriteMapper
.