public final class GraphLookupOptions extends Object
| Constructor and Description |
|---|
GraphLookupOptions() |
| Modifier and Type | Method and 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 name@Nullable public String getDepthField()
public GraphLookupOptions maxDepth(@Nullable Integer max)
max - the maximum depth@Nullable public Integer getMaxDepth()
public GraphLookupOptions restrictSearchWithMatch(@Nullable Bson filter)
filter - the filter expression@Nullable public Bson getRestrictSearchWithMatch()
Copyright © 2010 - 2020 Adobe. All Rights Reserved