Class ExprTransformConstantFold
- java.lang.Object
-
- org.apache.jena.sparql.expr.ExprTransformCopy
-
- org.apache.jena.sparql.algebra.optimize.ExprTransformConstantFold
-
- All Implemented Interfaces:
ExprTransform
public class ExprTransformConstantFold extends ExprTransformCopy
An expression transform that simplifies expressions by constant folding wherever possible
-
-
Field Summary
-
Fields inherited from class org.apache.jena.sparql.expr.ExprTransformCopy
COPY_ALWAYS, COPY_ONLY_ON_CHANGE
-
-
Constructor Summary
Constructors Constructor Description ExprTransformConstantFold()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exprtransform(ExprFunction1 func, Expr expr1)Exprtransform(ExprFunction2 func, Expr expr1, Expr expr2)Exprtransform(ExprFunction3 func, Expr expr1, Expr expr2, Expr expr3)Exprtransform(ExprFunctionN func, ExprList args)Exprtransform(ExprFunctionOp funcOp, ExprList args, Op opArg)
-
-
-
Method Detail
-
transform
public Expr transform(ExprFunction1 func, Expr expr1)
- Specified by:
transformin interfaceExprTransform- Overrides:
transformin classExprTransformCopy
-
transform
public Expr transform(ExprFunction2 func, Expr expr1, Expr expr2)
- Specified by:
transformin interfaceExprTransform- Overrides:
transformin classExprTransformCopy
-
transform
public Expr transform(ExprFunction3 func, Expr expr1, Expr expr2, Expr expr3)
- Specified by:
transformin interfaceExprTransform- Overrides:
transformin classExprTransformCopy
-
transform
public Expr transform(ExprFunctionN func, ExprList args)
- Specified by:
transformin interfaceExprTransform- Overrides:
transformin classExprTransformCopy
-
transform
public Expr transform(ExprFunctionOp funcOp, ExprList args, Op opArg)
- Specified by:
transformin interfaceExprTransform- Overrides:
transformin classExprTransformCopy
-
-