APISonar


com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorTiming.time

> com > hp > hpl > jena > sparql > engine > iterator > QueryIteratorTiming > time
com APIs hp APIs hpl APIs jena APIs sparql APIs engine APIs iterator APIs QueryIteratorTiming APIs time APIs

Example 1
public QueryIterator eval(Op op, DatasetGraph dsg, Binding input, Context context)
    {
        if ( SUBSTITUE && ! input.isEmpty() )
            op = Substitute.substitute(op, input) ;
        
        ExecutionContext execCxt = new ExecutionContext(context, dsg.getDefaultGraph(), dsg, QC.getFactory(context)) ;
        QueryIterator qIter1 = QueryIterRoot.create(input, execCxt) ;
        QueryIterator qIter = QC.execute(op, qIter1, execCxt) ;
        // Wrap with something to check for closed iterators.
        qIter = QueryIteratorCheck.check(qIter, execCxt) ;
        // Need call back.
        if ( context.isTrue(ARQ.enableExecutionTimeLogging) )
            qIter = QueryIteratorTiming.time(qIter) ;
        return qIter ;
    }