java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.graphpattern.Filter
All Implemented Interfaces:
QueryElement

class Filter extends Object implements QueryElement
A SPARQL Filter Clause
See Also:
  • Field Details

  • Constructor Details

    • Filter

      Filter()
    • Filter

      Filter(Expression<?> expression)
  • Method Details

    • filter

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

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