Package com.mongodb.client.model
Class GraphLookupOptions
- java.lang.Object
-
- com.mongodb.client.model.GraphLookupOptions
-
@Deprecated(since="2021-05-27") public final class GraphLookupOptions extends Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.The options for a graphLookup aggregation pipeline stage- Since:
- 3.4
-
-
Constructor Summary
Constructors Constructor Description GraphLookupOptions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GraphLookupOptionsdepthField(String field)Deprecated.The name of the field in which to store the depth valuebooleanequals(Object o)Deprecated.StringgetDepthField()Deprecated.IntegergetMaxDepth()Deprecated.BsongetRestrictSearchWithMatch()Deprecated.inthashCode()Deprecated.GraphLookupOptionsmaxDepth(Integer max)Deprecated.Specifies a maximum recursive depth for the $graphLookup.GraphLookupOptionsrestrictSearchWithMatch(Bson filter)Deprecated.A document specifying additional conditions for the recursive searchStringtoString()Deprecated.
-
-
-
Method Detail
-
depthField
public GraphLookupOptions depthField(@Nullable String field)
Deprecated.The name of the field in which to store the depth value- Parameters:
field- the field name- Returns:
- this
-
getDepthField
@Nullable public String getDepthField()
Deprecated.- Returns:
- the field name
-
maxDepth
public GraphLookupOptions maxDepth(@Nullable Integer max)
Deprecated.Specifies a maximum recursive depth for the $graphLookup. This number must be non-negative.- Parameters:
max- the maximum depth- Returns:
- this
-
getMaxDepth
@Nullable public Integer getMaxDepth()
Deprecated.- Returns:
- the maximum depth
-
restrictSearchWithMatch
public GraphLookupOptions restrictSearchWithMatch(@Nullable Bson filter)
Deprecated.A document specifying additional conditions for the recursive search- Parameters:
filter- the filter expression- Returns:
- this
- Since:
- 3.6
-
getRestrictSearchWithMatch
@Nullable public Bson getRestrictSearchWithMatch()
Deprecated.- Returns:
- the filter expression
- Since:
- 3.6
-
-