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() |
GraphLookupOptions |
maxDepth(Integer max)
Specifies a maximum recursive depth for the $graphLookup.
|
String |
toString() |
public GraphLookupOptions depthField(String field)
field - the field namepublic String getDepthField()
public GraphLookupOptions maxDepth(Integer max)
max - the maximum depthpublic Integer getMaxDepth()