jmkeil commented on issue #599: JENA-1751: Enable inline use of Element 
Subclasses
URL: https://github.com/apache/jena/pull/599#issuecomment-529492556
 
 
   The idea was to use it for inline `Expr` building during `Query` building:
   
   
   ```java
   new SelectBuilder().addFilter(new E_NotExists(
       new ElementPathBlock(new Triple(nodeA, nodeB, nodeC),
                            new Triple(nodeD, nodeE, nodeF))
   ));
   ```
   However, I was not aware of the `ExprFactory` also allowing to do this 
inline:
   
   ```java
   ExprFactory e = new ExprFactory();
   new SelectBuilder().addFilter(e.notexists(
       new SelectBuilder().addWhere(nodeA, nodeB, nodeC)
                          .addWhere(nodeD, nodeE, nodeF)
   ));
   ```
   So, it is not needed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to