Module org.apache.jena.arq
Class ReorderTransformationSubstitution
java.lang.Object
org.apache.jena.sparql.engine.optimizer.reorder.ReorderTransformationSubstitution
- All Implemented Interfaces:
ReorderTransformation
- Direct Known Subclasses:
ReorderFixed,ReorderFixedAlt,ReorderWeighted
public abstract class ReorderTransformationSubstitution
extends Object
implements ReorderTransformation
Machinery.
This code implements the connectiveness assumed by execution based on substitution (index joins).
i.e. if
{ ?x :p ?v . ?x :q ?w } then ?x is TERM
at the second triple.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BasicPatternreorder(BasicPattern pattern) Return the reordered basic graph pattern.final ReorderProcreorderIndexes(BasicPattern pattern) Return the reordering function based on a basic graph pattern.
-
Field Details
-
log
public static final org.slf4j.Logger log
-
-
Constructor Details
-
ReorderTransformationSubstitution
public ReorderTransformationSubstitution()
-
-
Method Details
-
reorder
Description copied from interface:ReorderTransformationReturn the reordered basic graph pattern.- Specified by:
reorderin interfaceReorderTransformation
-
reorderIndexes
Description copied from interface:ReorderTransformationReturn the reordering function based on a basic graph pattern.- Specified by:
reorderIndexesin interfaceReorderTransformation
-