Package | Description |
---|---|
com.hp.hpl.jena.sparql.algebra | |
com.hp.hpl.jena.sparql.algebra.op | |
com.hp.hpl.jena.sparql.algebra.optimize | |
com.hp.hpl.jena.sparql.expr |
Modifier and Type | Class and Description |
---|---|
class |
AlgebraQuad
Convert an algebra expression into a quad form
|
class |
TransformBase |
class |
TransformCopy
One step in the transformation process.
|
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.transformOne(Transform transform,
Op op)
Transform an Op - not recursively
|
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 |
---|
Transformer.ApplyTransformVisitor(Transform transform,
ExprTransform exprTransform) |
TransformWrapper(Transform transform) |
Modifier and Type | Method and Description |
---|---|
Op |
OpTriple.apply(Transform transform) |
Op |
OpExt.apply(Transform transform) |
Op |
OpBGP.apply(Transform transform) |
Op |
OpTable.apply(Transform transform) |
Op |
OpQuad.apply(Transform transform) |
Op |
OpQuadPattern.apply(Transform transform) |
Op |
OpDatasetNames.apply(Transform transform) |
Op |
OpPath.apply(Transform transform) |
Op |
OpNull.apply(Transform transform) |
abstract Op |
Op0.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 |
OpTopN.apply(Transform transform,
Op subOp) |
Op |
OpGroup.apply(Transform transform,
Op subOp) |
Op |
OpGraph.apply(Transform transform,
Op op) |
Op |
OpService.apply(Transform transform,
Op subOp) |
Op |
OpProcedure.apply(Transform transform,
Op subOp) |
Op |
OpReduced.apply(Transform transform,
Op subOp) |
Op |
OpList.apply(Transform transform,
Op subOp) |
Op |
OpOrder.apply(Transform transform,
Op subOp) |
Op |
OpAssign.apply(Transform transform,
Op subOp) |
Op |
OpSlice.apply(Transform transform,
Op subOp) |
Op |
OpPropFunc.apply(Transform transform,
Op subOp) |
Op |
OpLabel.apply(Transform transform,
Op subOp) |
Op |
OpProject.apply(Transform transform,
Op subOp) |
Op |
OpDistinct.apply(Transform transform,
Op subOp) |
Op |
OpFilter.apply(Transform transform,
Op subOp) |
abstract Op |
Op1.apply(Transform transform,
Op subOp) |
Op |
OpExtend.apply(Transform transform,
Op subOp) |
Op |
OpConditional.apply(Transform transform,
Op left,
Op right) |
Op |
OpDiff.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 |
OpMinus.apply(Transform transform,
Op left,
Op right) |
Op |
OpLeftJoin.apply(Transform transform,
Op left,
Op right) |
abstract Op |
Op2.apply(Transform transform,
Op left,
Op right) |
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 |
TransformExpandOneOf |
class |
TransformFilterConjunction
Redo FILTER (A&&B) as FILTER(A) FILTER(B) (as an expr list).
|
class |
TransformFilterDisjunction
Filter disjunction.
|
class |
TransformFilterEquality |
class |
TransformFilterPlacement
Rewrite an algebra expression to put filters as close to their bound variables in a BGP.
|
class |
TransformJoinStrategy
Choose join strategy
|
class |
TransformMergeBGPs
Merge adjacent BGPsTransformCollapseBGPs
|
class |
TransformOrderByDistinctAppplication
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 trasnactions in the SPARQL 1.1 spec.
|
class |
TransformPathFlatternStd
The path transformation step exactly as per the SPARQL 1.1 spec.
|
class |
TransformPattern2Join
Expand BGPs to joins of triples.
|
class |
TransformPropertyFunction
Rewrite to replace a property function property with the call to the property function implementation
|
class |
TransformRemoveLabels |
class |
TransformReorder
A Transformer that applies a reordering to all BGPs and Quad Patterns present in the algebra
|
class |
TransformSimplify |
class |
TransformTopN |
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