public final class GraphLookupOptions extends Object
Constructor | Description |
---|---|
GraphLookupOptionsโ() |
Modifier and Type | Method | Description |
---|---|---|
GraphLookupOptions |
depthFieldโ(String field) |
The name of the field in which to store the depth value
|
String |
getDepthFieldโ() |
|
Integer |
getMaxDepthโ() |
|
Bson |
getRestrictSearchWithMatchโ() |
|
GraphLookupOptions |
maxDepthโ(Integer max) |
Specifies a maximum recursive depth for the $graphLookup.
|
GraphLookupOptions |
restrictSearchWithMatchโ(Bson filter) |
A document specifying additional conditions for the recursive search
|
String |
toStringโ() |
public GraphLookupOptions depthFieldโ(@Nullable String field)
field
- the field namepublic GraphLookupOptions maxDepthโ(@Nullable Integer max)
max
- the maximum depthpublic GraphLookupOptions restrictSearchWithMatchโ(@Nullable Bson filter)
filter
- the filter expression@Nullable public Bson getRestrictSearchWithMatchโ()