Interface ExposesLogicalOperators<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      T and​(Condition condition)
      Adds an additional condition to the existing conditions, connected by an and.
      default T and​(RelationshipPattern pathPattern)
      Adds an additional condition based on a path pattern to the existing conditions, connected by an and.
      T or​(Condition condition)
      Adds an additional condition to the existing conditions, connected by an or.
      default T or​(RelationshipPattern pathPattern)
      Adds an additional condition based on a path pattern to the existing conditions, connected by an or.
    • Method Detail

      • and

        T and​(Condition condition)
        Adds an additional condition to the existing conditions, connected by an and. Existing conditions will be logically grouped by using () in the statement if previous conditions used another logical operator.
        Parameters:
        condition - An additional condition
        Returns:
        The ongoing definition of a match
      • and

        default T and​(RelationshipPattern pathPattern)
        Adds an additional condition based on a path pattern to the existing conditions, connected by an and. Existing conditions will be logically grouped by using () in the statement if previous conditions used another logical operator.
        Parameters:
        pathPattern - An additional pattern to include in the conditions
        Returns:
        The ongoing definition of a match
      • or

        T or​(Condition condition)
        Adds an additional condition to the existing conditions, connected by an or. Existing conditions will be logically grouped by using () in the statement if previous conditions used another logical operator.
        Parameters:
        condition - An additional condition
        Returns:
        The ongoing definition of a match
      • or

        default T or​(RelationshipPattern pathPattern)
        Adds an additional condition based on a path pattern to the existing conditions, connected by an or. Existing conditions will be logically grouped by using () in the statement if previous conditions used another logical operator.
        Parameters:
        pathPattern - An additional pattern to include in the conditions
        Returns:
        The ongoing definition of a match