Package | Description |
---|---|
org.apache.jena.sparql.algebra | |
org.apache.jena.sparql.algebra.op | |
org.apache.jena.sparql.algebra.optimize | |
org.apache.jena.sparql.expr |
Modifier and Type | Class and Description |
---|---|
class |
TransformBase |
class |
TransformCopy
One step in the transformation process.
|
class |
TransformQuadGraph
Transform that rewrites an algebra into quad form
|
class |
TransformUnionQuery
Convert query in algrebra form so that the default graph of the query is the union of named graphs
|
class |
TransformWrapper
Wrap another transform and pass on the transform operation
|
Modifier and Type | Method and Description |
---|---|
static Op |
Transformer.transform(Transform transform,
ExprTransform exprTransform,
Op op)
Transform an algebra expression and the expressions
|
static Op |
Transformer.transform(Transform transform,
ExprTransform exprTransform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transformation with specific Transform and ExprTransform applied
|
static Op |
Transformer.transform(Transform transform,
Op op)
Transform an algebra expression
|
static Op |
Transformer.transform(Transform transform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transformation with specific Transform and default ExprTransform (apply transform inside pattern expressions like NOT EXISTS)
|
static Op |
Transformer.transformSkipService(Transform transform,
ExprTransform exprTransform,
Op op)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
static Op |
Transformer.transformSkipService(Transform transform,
ExprTransform exprTransform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
static Op |
Transformer.transformSkipService(Transform transform,
Op op)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
static Op |
Transformer.transformSkipService(Transform transform,
Op op,
OpVisitor beforeVisitor,
OpVisitor afterVisitor)
Transform an algebra expression except skip (leave alone) any OpService nodes
|
Constructor and Description |
---|
ApplyTransformVisitor(Transform transform,
ExprTransform exprTransform) |
TransformWrapper(Transform transform) |
Modifier and Type | Method and Description |
---|---|
Op |
OpQuadBlock.apply(Transform transform) |
abstract Op |
Op0.apply(Transform transform) |
Op |
OpTable.apply(Transform transform) |
Op |
OpPath.apply(Transform transform) |
Op |
OpBGP.apply(Transform transform) |
Op |
OpTriple.apply(Transform transform) |
Op |
OpDatasetNames.apply(Transform transform) |
Op |
OpQuad.apply(Transform transform) |
Op |
OpNull.apply(Transform transform) |
Op |
OpExt.apply(Transform transform) |
Op |
OpQuadPattern.apply(Transform transform) |
abstract Op |
OpN.apply(Transform transform,
List<Op> elts) |
Op |
OpSequence.apply(Transform transform,
List<Op> elts) |
Op |
OpDisjunction.apply(Transform transform,
List<Op> elts) |
Op |
OpList.apply(Transform transform,
Op subOp) |
Op |
OpTopN.apply(Transform transform,
Op subOp) |
Op |
OpPropFunc.apply(Transform transform,
Op subOp) |
Op |
OpSlice.apply(Transform transform,
Op subOp) |
Op |
OpFilter.apply(Transform transform,
Op subOp) |
Op |
OpReduced.apply(Transform transform,
Op subOp) |
Op |
OpDistinct.apply(Transform transform,
Op subOp) |
Op |
OpProcedure.apply(Transform transform,
Op subOp) |
Op |
OpOrder.apply(Transform transform,
Op subOp) |
abstract Op |
Op1.apply(Transform transform,
Op subOp) |
Op |
OpService.apply(Transform transform,
Op subOp) |
Op |
OpAssign.apply(Transform transform,
Op subOp) |
Op |
OpExtend.apply(Transform transform,
Op subOp) |
Op |
OpGraph.apply(Transform transform,
Op op) |
Op |
OpGroup.apply(Transform transform,
Op subOp) |
Op |
OpProject.apply(Transform transform,
Op subOp) |
Op |
OpLabel.apply(Transform transform,
Op subOp) |
Op |
OpLeftJoin.apply(Transform transform,
Op left,
Op right) |
abstract Op |
Op2.apply(Transform transform,
Op left,
Op right) |
Op |
OpDiff.apply(Transform transform,
Op left,
Op right) |
Op |
OpMinus.apply(Transform transform,
Op left,
Op right) |
Op |
OpJoin.apply(Transform transform,
Op left,
Op right) |
Op |
OpUnion.apply(Transform transform,
Op left,
Op right) |
Op |
OpConditional.apply(Transform transform,
Op left,
Op right) |
Op |
OpExt.apply(Transform transform,
OpVisitor before,
OpVisitor after) |
Modifier and Type | Class and Description |
---|---|
class |
TransformDistinctToReduced
Transforms generic
DISTINCT plus ORDER BY combinations to
REDUCED plus ORDER BY which typically gives better
performance and memory consumption because engines have to keep less data
in-memory to evaluate it. |
class |
TransformEliminateAssignments
A transform that tries to in-line/eliminate assignments
|
class |
TransformExpandOneOf |
class |
TransformExtendCombine
An optimizer that aims to combine multiple extend clauses together.
|
class |
TransformFilterConjunction
Redo FILTER (A&&B) as FILTER(A) FILTER(B) (as an expr list).
|
class |
TransformFilterDisjunction
Filter disjunction.
|
class |
TransformFilterEquality
A transform that aims to optimize queries where there is an equality
constraint on a variable to speed up evaluation e.g
|
class |
TransformFilterImplicitJoin
Optimizer for transforming implicit joins.
|
class |
TransformFilterInequality
A transform that aims to optimize queries where there is an inequality
constraint on a variable in an attempt to speed up evaluation e.g
|
class |
TransformFilterPlacement
Rewrite an algebra expression to put filters as close to their bound
variables.
|
class |
TransformFilterPlacementConservative
Rewrite an algebra expression to put filters as close to their bound
variables in a BGP.
|
class |
TransformImplicitLeftJoin
Optimizer for transforming implicit joins.
|
class |
TransformJoinStrategy
Choose join strategy
|
class |
TransformMergeBGPs
Merge BGPs
(join BGP1 BGP2) => BGP
(sequence ...BGP1 BGP2 ...) => (sequence ...BGP ...)
|
class |
TransformOrderByDistinctApplication
Improved optimization for
ORDER BY plus DISTINCT or
REDUCED combinations, see JENA-441 for original proposal and
discussion. |
class |
TransformPathFlattern
Perform the equivalent of the transactions in the SPARQL 1.1 spec.
|
class |
TransformPathFlatternStd
The path transformation step exactly as per the SPARQL 1.1 spec.
|
class |
TransformPattern2Join
Expand to joins of triples and quads.
|
class |
TransformPromoteTableEmpty
Optimizer that ensures that table empty is promoted as high
up a query as is possible
|
class |
TransformPropertyFunction
Rewrite to replace a property function property with the call to the property function implementation
|
class |
TransformRemoveAssignment
A transform capable of removing assignments from the algebra tree
|
class |
TransformRemoveLabels |
class |
TransformReorder
A Transformer that applies a reordering to all BGPs and Quad Patterns present in the algebra
|
class |
TransformSimplify |
class |
TransformTopN
Optimization that changes queries that uses OFFSET/LIMIT and ORDER BY
to execute using Top N: i.e.
|
Modifier and Type | Method and Description |
---|---|
static Op |
Optimize.apply(String label,
Transform transform,
Op op) |
static Op |
Optimize.apply(Transform transform,
Op op) |
Constructor and Description |
---|
ExprTransformApplyTransform(Transform transform) |
ExprTransformApplyTransform(Transform transform,
OpVisitor beforeVisitor,
OpVisitor afterVisitor) |
Modifier and Type | Method and Description |
---|---|
Transform |
ExprTransformOp.getTransform() |
Licenced under the Apache License, Version 2.0