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