public class PartialIndexFilter extends Object implements IndexFilter
IndexFilter implementation for usage with plain DBObject as well as CriteriaDefinition filter
expressions.| Modifier and Type | Method and Description |
|---|---|
org.bson.Document |
getFilterObject()
Get the raw (unmapped) filter expression.
|
static PartialIndexFilter |
of(CriteriaDefinition where)
Create new
PartialIndexFilter for given filter expression. |
static PartialIndexFilter |
of(org.bson.Document where)
Create new
PartialIndexFilter for given filter expression. |
public static PartialIndexFilter of(org.bson.Document where)
PartialIndexFilter for given filter expression.where - must not be null.public static PartialIndexFilter of(CriteriaDefinition where)
PartialIndexFilter for given filter expression.where - must not be null.public org.bson.Document getFilterObject()
IndexFiltergetFilterObject in interface IndexFilterCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.