public class PartialIndexFilter extends Object implements IndexFilter
IndexFilter implementation for usage with plain DBObject as well as CriteriaDefinition filter
expressions.| Constructor and Description |
|---|
PartialIndexFilter() |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
getFilterObject()
Get the raw (unmapped) filter expression.
|
static PartialIndexFilter |
of(CriteriaDefinition where)
Create new
PartialIndexFilter for given filter expression. |
static PartialIndexFilter |
of(com.mongodb.DBObject where)
Create new
PartialIndexFilter for given filter expression. |
public static PartialIndexFilter of(com.mongodb.DBObject 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 com.mongodb.DBObject getFilterObject()
IndexFiltergetFilterObject in interface IndexFilterCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.