Class DelegatingTupleQuery

  • All Implemented Interfaces:
    org.eclipse.rdf4j.query.Operation, org.eclipse.rdf4j.query.Query, org.eclipse.rdf4j.query.TupleQuery
    Direct Known Subclasses:
    LoggingTupleQuery, ResultCachingTupleQuery

    public abstract class DelegatingTupleQuery
    extends Object
    implements org.eclipse.rdf4j.query.TupleQuery
    Since:
    4.0.0
    Author:
    Florian Kleedorfer
    • Constructor Detail

      • DelegatingTupleQuery

        public DelegatingTupleQuery​(org.eclipse.rdf4j.query.TupleQuery delegate)
    • Method Detail

      • getDelegate

        protected org.eclipse.rdf4j.query.TupleQuery getDelegate()
      • evaluate

        public org.eclipse.rdf4j.query.TupleQueryResult evaluate()
                                                          throws org.eclipse.rdf4j.query.QueryEvaluationException
        Specified by:
        evaluate in interface org.eclipse.rdf4j.query.TupleQuery
        Throws:
        org.eclipse.rdf4j.query.QueryEvaluationException
      • evaluate

        public void evaluate​(org.eclipse.rdf4j.query.TupleQueryResultHandler handler)
                      throws org.eclipse.rdf4j.query.QueryEvaluationException,
                             org.eclipse.rdf4j.query.TupleQueryResultHandlerException
        Specified by:
        evaluate in interface org.eclipse.rdf4j.query.TupleQuery
        Throws:
        org.eclipse.rdf4j.query.QueryEvaluationException
        org.eclipse.rdf4j.query.TupleQueryResultHandlerException
      • setMaxQueryTime

        @Deprecated
        public void setMaxQueryTime​(int maxQueryTime)
        Deprecated.
        Specified by:
        setMaxQueryTime in interface org.eclipse.rdf4j.query.Query
      • getMaxQueryTime

        @Deprecated
        public int getMaxQueryTime()
        Deprecated.
        Specified by:
        getMaxQueryTime in interface org.eclipse.rdf4j.query.Query
      • explain

        @Experimental
        public org.eclipse.rdf4j.query.explanation.Explanation explain​(org.eclipse.rdf4j.query.explanation.Explanation.Level level)
        Specified by:
        explain in interface org.eclipse.rdf4j.query.Query
      • setBinding

        public void setBinding​(String name,
                               org.eclipse.rdf4j.model.Value value)
        Specified by:
        setBinding in interface org.eclipse.rdf4j.query.Operation
      • removeBinding

        public void removeBinding​(String name)
        Specified by:
        removeBinding in interface org.eclipse.rdf4j.query.Operation
      • clearBindings

        public void clearBindings()
        Specified by:
        clearBindings in interface org.eclipse.rdf4j.query.Operation
      • getBindings

        public org.eclipse.rdf4j.query.BindingSet getBindings()
        Specified by:
        getBindings in interface org.eclipse.rdf4j.query.Operation
      • setDataset

        public void setDataset​(org.eclipse.rdf4j.query.Dataset dataset)
        Specified by:
        setDataset in interface org.eclipse.rdf4j.query.Operation
      • getDataset

        public org.eclipse.rdf4j.query.Dataset getDataset()
        Specified by:
        getDataset in interface org.eclipse.rdf4j.query.Operation
      • setIncludeInferred

        public void setIncludeInferred​(boolean includeInferred)
        Specified by:
        setIncludeInferred in interface org.eclipse.rdf4j.query.Operation
      • getIncludeInferred

        public boolean getIncludeInferred()
        Specified by:
        getIncludeInferred in interface org.eclipse.rdf4j.query.Operation
      • setMaxExecutionTime

        public void setMaxExecutionTime​(int maxExecutionTimeSeconds)
        Specified by:
        setMaxExecutionTime in interface org.eclipse.rdf4j.query.Operation
      • getMaxExecutionTime

        public int getMaxExecutionTime()
        Specified by:
        getMaxExecutionTime in interface org.eclipse.rdf4j.query.Operation