Interface PolyfillConditionQuery

All Superinterfaces:
org.apache.jena.graph.FrontsNode, PolyfillCondition, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource

public interface PolyfillConditionQuery extends PolyfillCondition
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T> T
     
     
    Polyfill conditions are by default satisfied if the query fails.
    Explicitly declare query strings that for some reason cannot be parsed by Jena's ARQ parser
     
     
    setQueryString(String queryString)
     

    Methods inherited from interface org.apache.jena.graph.FrontsNode

    asNode

    Methods inherited from interface org.apache.jena.rdf.model.RDFNode

    as, asLiteral, asResource, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, visitWith

    Methods inherited from interface org.apache.jena.rdf.model.Resource

    abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
  • Method Details

    • getQueryString

      String getQueryString()
    • setQueryString

      PolyfillConditionQuery setQueryString(String queryString)
    • isNonParseable

      Boolean isNonParseable()
      Explicitly declare query strings that for some reason cannot be parsed by Jena's ARQ parser
    • setNonParseable

      PolyfillConditionQuery setNonParseable(Boolean value)
    • isMatchOnNonEmptyResult

      Boolean isMatchOnNonEmptyResult()
      Polyfill conditions are by default satisfied if the query fails. If matchOnResult is true, then a condition is satisfied if the query returns a non-empty result. This can be used to check for the presence of vendor/version specific features.
    • setMatchOnNonEmptyResult

      PolyfillConditionQuery setMatchOnNonEmptyResult(Boolean value)
    • accept

      default <T> T accept(PolyfillConditionVisitor<T> visitor)
      Specified by:
      accept in interface PolyfillCondition