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(@Nullable java.lang.String field)
field
- the field name@Nullable public java.lang.String getDepthField()
public GraphLookupOptions maxDepth(@Nullable java.lang.Integer max)
max
- the maximum depth@Nullable public java.lang.Integer getMaxDepth()
public GraphLookupOptions restrictSearchWithMatch(@Nullable Bson filter)
filter
- the filter expression@Nullable public Bson getRestrictSearchWithMatch()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved