Class GraphLookupOptions


  • @Deprecated(since="2021-05-27")
    public final class GraphLookupOptions
    extends java.lang.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 Detail

      • GraphLookupOptions

        public GraphLookupOptions()
        Deprecated.
    • Method Detail

      • depthField

        public GraphLookupOptions depthField​(@Nullable
                                             java.lang.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 java.lang.String getDepthField()
        Deprecated.
        Returns:
        the field name
      • maxDepth

        public GraphLookupOptions maxDepth​(@Nullable
                                           java.lang.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 java.lang.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
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object