asterix-graphix/src/main/java/org/apache/asterix/graphix/lang/rewrite/lower/EnvironmentActionFactory.java [282:298]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            return new AbstractInlineAction(graphixRewritingContext, edgeAnalysisContext, null) {
                @Override
                public void apply(LoweringEnvironment loweringEnvironment) throws CompilationException {
                    // We want to bind directly to the iteration variable of our vertex, not the join variable.
                    elementVariable = aliasLookupTable.getIterationAlias(vertexVar);

                    // Inline our edge body.
                    super.apply(loweringEnvironment);

                    // If we have a filter expression, add it as a WHERE clause here.
                    final Expression filterExpr = edgePatternExpr.getEdgeDescriptor().getFilterExpr();
                    if (filterExpr != null) {
                        loweringEnvironment.acceptAction(buildFilterExprAction(filterExpr, edgeVar, elementVariable));
                    }

                    // Build a binding for our edge variable.
                    loweringEnvironment.acceptTransformer(lowerList -> {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



asterix-graphix/src/main/java/org/apache/asterix/graphix/lang/rewrite/lower/EnvironmentActionFactory.java [312:328]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            return new AbstractInlineAction(graphixRewritingContext, edgeAnalysisContext, null) {
                @Override
                public void apply(LoweringEnvironment loweringEnvironment) throws CompilationException {
                    // We want to bind directly to the iteration variable of our vertex, not the join variable.
                    elementVariable = aliasLookupTable.getIterationAlias(vertexVar);

                    // Inline our edge body.
                    super.apply(loweringEnvironment);

                    // If we have a filter expression, add it as a WHERE clause here.
                    final Expression filterExpr = edgePatternExpr.getEdgeDescriptor().getFilterExpr();
                    if (filterExpr != null) {
                        loweringEnvironment.acceptAction(buildFilterExprAction(filterExpr, edgeVar, elementVariable));
                    }

                    // Build a record constructor from our context to bind to our edge and intermediate (join) var.
                    loweringEnvironment.acceptTransformer(lowerList -> {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



