Class TransformTopN

java.lang.Object
org.apache.jena.sparql.algebra.TransformCopy
org.apache.jena.sparql.algebra.optimize.TransformTopN
All Implemented Interfaces:
Transform

public class TransformTopN extends TransformCopy
Optimization that changes queries that uses OFFSET/LIMIT and ORDER BY to execute using Top N: i.e. while executing, keep only the top N items seen. This avoids full sort of the whole results, saving space and time.