Class TransformPropertyFunction
- java.lang.Object
-
- org.apache.jena.sparql.algebra.TransformCopy
-
- org.apache.jena.sparql.algebra.optimize.TransformPropertyFunction
-
- All Implemented Interfaces:
Transform
public class TransformPropertyFunction extends TransformCopy
Rewrite to replace a property function property with the call to the property function implementation
-
-
Field Summary
-
Fields inherited from class org.apache.jena.sparql.algebra.TransformCopy
COPY_ALWAYS, COPY_ONLY_ON_CHANGE
-
-
Constructor Summary
Constructors Constructor Description TransformPropertyFunction(Context context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optransform(OpBGP opBGP)Optransform(OpTriple opTriple)static Optransform(Op op, Context context)Apply the property function transformation.-
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
-
-
-
-
Constructor Detail
-
TransformPropertyFunction
public TransformPropertyFunction(Context context)
-
-
Method Detail
-
transform
public static Op transform(Op op, Context context)
Apply the property function transformation.The
contextprovide the place to find the property function registry. A custom one canbe supplied usingARQConstants.registryPropertyFunctionsSee
PropertyFunctionRegistry.chooseRegistry(org.apache.jena.sparql.util.Context)for the full decision process.In addition,
ARQ.enablePropertyFunctionsmust be true (this is the default).
-
transform
public Op transform(OpTriple opTriple)
- Specified by:
transformin interfaceTransform- Overrides:
transformin classTransformCopy
-
-