core/src/main/java/com/orientechnologies/orient/core/sql/parser/OMatchStatement.java
private void rebindFilters(Map<String, OWhereClause> aliasFilters) {
    for (OMatchExpression expression : matchExpressions) {
      OWhereClause newFilter = aliasFilters.get(expression.origin.getAlias());
      expression.origin.setFilter(newFilter);

      for (OMatchPathItem item : expression.items) {
        newFilter = aliasFilters.get(item.filter.getAlias());
        item.filter.setFilter(newFilter);
      }
    }
  }
private void rebindFilters(Map<String, OWhereClause> aliasFilters) {
    for (OMatchExpression expression : matchExpressions) {
      OWhereClause newFilter = aliasFilters.get(expression.origin.getAlias());
      expression.origin.setFilter(newFilter);

      for (OMatchPathItem item : expression.items) {
        newFilter = aliasFilters.get(item.filter.getAlias());
        item.filter.setFilter(newFilter);
      }
    }
  }
private void rebindFilters ( Map < String , OWhereClause > aliasFilters ) { for ( OMatchExpression expression : matchExpressions ) { OWhereClause newFilter = aliasFilters . get ( expression . origin . getAlias ( ) ) ; expression . origin . setFilter ( newFilter ) ; for ( OMatchPathItem item : expression . items ) { newFilter = aliasFilters . get ( item . filter . getAlias ( ) ) ; item . filter . setFilter ( newFilter ) ; } } }
rebinds filter (where) conditions to alias nodes after optimization

@param aliasFilters
rebinds filter ( where ) conditions to alias nodes after optimization