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 java.lang.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?xisTERMat the second triple.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description ReorderTransformationSubstitution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicPatternreorder(BasicPattern pattern)Return the reordered basic graph pattern.ReorderProcreorderIndexes(BasicPattern pattern)Return the reordering function based on a basic graph pattern.
-
-
-
Method Detail
-
reorder
public BasicPattern reorder(BasicPattern pattern)
Description copied from interface:ReorderTransformationReturn the reordered basic graph pattern.- Specified by:
reorderin interfaceReorderTransformation
-
reorderIndexes
public final ReorderProc reorderIndexes(BasicPattern pattern)
Description copied from interface:ReorderTransformationReturn the reordering function based on a basic graph pattern.- Specified by:
reorderIndexesin interfaceReorderTransformation
-
-