Interface ExposesMatch

    • Method Detail

      • optionalMatch

        default StatementBuilder.OngoingReadingWithoutWhere optionalMatch​(PatternElement... pattern)
        Adds (another) optional MATCH clause.
        Parameters:
        pattern - The patterns to match
        Returns:
        An ongoing match that is used to specify an optional where and a required return clause
      • match

        StatementBuilder.OngoingReadingWithoutWhere match​(boolean optional,
                                                          PatternElement... pattern)
        Adds (another) MATCH clause.
        Parameters:
        optional - A flag whether the MATCH clause includes the OPTIONAL keyword.
        pattern - The patterns to match
        Returns:
        An ongoing match that is used to specify an optional where and a required return clause
        Since:
        2020.1.3