Class FieldLookupPolicy
java.lang.Object
org.springframework.data.mongodb.core.aggregation.FieldLookupPolicy
Lookup policy for aggregation fields. Allows strict lookups that fail if the field is absent or relaxed ones that
pass-thru the requested field even if we have to assume that the field isn't present because of the limited scope of
our input.
- Since:
- 4.2.7
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldLookupPolicy
relaxed()
static FieldLookupPolicy
strict()
-
Method Details
-
relaxed
- Returns:
- a relaxed lookup policy.
-
strict
- Returns:
- a strict lookup policy.
-