java.lang.Object
org.apache.jena.sparql.algebra.TransformCopy
org.apache.jena.sparql.algebra.optimize.TransformReorder
- All Implemented Interfaces:
Transform
A Transformer that applies a reordering to all BGPs and Quad Patterns present in the algebra
This transformer may be slightly naive in that it only leverages the
ReorderTransformation.reorder(BasicPattern)
method and does not use
the ReorderTransformation.reorderIndexes(BasicPattern)
method at all
so may not achieve the best reordering
-
Field Summary
Fields inherited from class org.apache.jena.sparql.algebra.TransformCopy
COPY_ALWAYS, COPY_ONLY_ON_CHANGE
-
Constructor Summary
ConstructorDescriptionCreates a Transformer that uses the fixed reordering provided byReorderLib.fixed()
TransformReorder
(ReorderTransformation reorder) Creates a Transformer that uses the given reordering -
Method Summary
Methods inherited from class org.apache.jena.sparql.algebra.TransformCopy
transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform, transform
-
Constructor Details
-
TransformReorder
public TransformReorder()Creates a Transformer that uses the fixed reordering provided byReorderLib.fixed()
-
TransformReorder
Creates a Transformer that uses the given reordering
-
-
Method Details
-
transform
Transforms BGPs with the reordering- Specified by:
transform
in interfaceTransform
- Overrides:
transform
in classTransformCopy
-
transform
Transforms Quad Patterns with the reordering- Specified by:
transform
in interfaceTransform
- Overrides:
transform
in classTransformCopy
-