Class ConstantOptimizer.ConstantVisitor
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<RuntimeException>
org.eclipse.rdf4j.query.algebra.evaluation.impl.ConstantOptimizer.VarNameCollector
org.eclipse.rdf4j.query.algebra.evaluation.impl.ConstantOptimizer.ConstantVisitor
- All Implemented Interfaces:
QueryModelVisitor<RuntimeException>
- Enclosing class:
ConstantOptimizer
@Deprecated(forRemoval=true,
since="4.1.0")
protected class ConstantOptimizer.ConstantVisitor
extends ConstantOptimizer.VarNameCollector
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List
<ProjectionElemList> Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.eclipse.rdf4j.query.algebra.evaluation.impl.ConstantOptimizer.VarNameCollector
varNames
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
isConstant
(ValueExpr expr) Deprecated, for removal: This API element is subject to removal in a future version.private boolean
isConstantZeroArgFunction
(FunctionCall functionCall) Deprecated, for removal: This API element is subject to removal in a future version.Determines if the provided zero-arg function is a function that should return a constant value for the entire query execution (e.g NOW()), or if it should generate a new value for every call (e.g.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
meet
(FunctionCall functionCall) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
meet
(ProjectionElemList projElems) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Override meetBinaryValueOperatorprotected void
meetBinaryValueOperator
(BinaryValueOperator binaryValueOp) Deprecated, for removal: This API element is subject to removal in a future version.Method called by all meet methods with aBinaryValueOperator
node as argument.protected void
meetUnaryValueOperator
(UnaryValueOperator unaryValueOp) Deprecated, for removal: This API element is subject to removal in a future version.Method called by all meet methods with aUnaryValueOperator
node as argument.Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.impl.ConstantOptimizer.VarNameCollector
meet
Methods inherited from class org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetNode, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator, meetUpdateExpr
-
Field Details
-
projElemLists
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
ConstantVisitor
protected ConstantVisitor()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meetBinaryValueOperator
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractQueryModelVisitor
Method called by all meet methods with aBinaryValueOperator
node as argument. Forwards the call toAbstractQueryModelVisitor.meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Overrides:
meetBinaryValueOperator
in classAbstractQueryModelVisitor<RuntimeException>
- Parameters:
binaryValueOp
- The node that is being visited.
-
meetUnaryValueOperator
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractQueryModelVisitor
Method called by all meet methods with aUnaryValueOperator
node as argument. Forwards the call toAbstractQueryModelVisitor.meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Overrides:
meetUnaryValueOperator
in classAbstractQueryModelVisitor<RuntimeException>
- Parameters:
unaryValueOp
- The node that is being visited.
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
isConstantZeroArgFunction
Deprecated, for removal: This API element is subject to removal in a future version.Determines if the provided zero-arg function is a function that should return a constant value for the entire query execution (e.g NOW()), or if it should generate a new value for every call (e.g. RAND()).- Parameters:
functionCall
- a zero-arg function call.- Returns:
true
iff the provided function returns a constant value for the query execution,
false
otherwise.
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
Deprecated, for removal: This API element is subject to removal in a future version.Override meetBinaryValueOperator- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
isConstant
Deprecated, for removal: This API element is subject to removal in a future version.
-