Class Filter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Optional<Expression<?>> constraint  
      private static java.lang.String FILTER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Filter filter​(Expression<?> expression)
      Set the constraint for this Filter clause
      java.lang.String getQueryString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Filter

        Filter()
    • Method Detail

      • filter

        public Filter filter​(Expression<?> expression)
        Set the constraint for this Filter clause
        Parameters:
        expression - the constraint to set
        Returns:
        this
      • getQueryString

        public java.lang.String getQueryString()
        Specified by:
        getQueryString in interface QueryElement
        Returns:
        the String representing the SPARQL syntax of this element