Class Match
- java.lang.Object
-
- dev.morphia.aggregation.experimental.stages.Stage
-
- dev.morphia.aggregation.experimental.stages.Match
-
public class Match extends Stage
Limits the number of documents passed to the next stage in the pipeline.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Filter[]
getFilters()
static Match
match(Filter... filters)
Creates the new stage using the filters for matchingstatic Match
on(Filter... filters)
Deprecated, for removal: This API element is subject to removal in a future version.usematch(Filter...)
-
Methods inherited from class dev.morphia.aggregation.experimental.stages.Stage
aggregation, stageName
-
-
-
-
Constructor Detail
-
Match
protected Match(Filter... filters)
-
-
Method Detail
-
match
public static Match match(Filter... filters)
Creates the new stage using the filters for matching- Parameters:
filters
- the filters to apply- Returns:
- this
- Since:
- 2.2
-
on
@Deprecated(forRemoval=true) public static Match on(Filter... filters)
Deprecated, for removal: This API element is subject to removal in a future version.usematch(Filter...)
Creates the new stage using the filters for matching- Parameters:
filters
- the filters to apply- Returns:
- this
-
getFilters
public Filter[] getFilters()
- Returns:
- the filters
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-