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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal BasicPattern
reorder
(BasicPattern pattern) Return the reordered basic graph pattern.final ReorderProc
reorderIndexes
(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:ReorderTransformation
Return the reordered basic graph pattern.- Specified by:
reorder
in interfaceReorderTransformation
-
reorderIndexes
Description copied from interface:ReorderTransformation
Return the reordering function based on a basic graph pattern.- Specified by:
reorderIndexes
in interfaceReorderTransformation
-