Class TupleExprs
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.TupleExprs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
Verifies if the suppliedTupleExpr
contains aProjection
with the subquery flag set to true (default).static Var
createConstVar
(Value value) Creates an (anonymous) Var representing a constant value.ReturnsTupleExpr
children of the given node.static String
getConstVarName
(Value value) static boolean
Verifies if the supplied expression is a FILTER (NOT) EXISTS operationstatic boolean
Verifies if the suppliedTupleExpr
represents a variable scope change.
-
Constructor Details
-
TupleExprs
public TupleExprs()
-
-
Method Details
-
containsSubquery
Verifies if the suppliedTupleExpr
contains aProjection
with the subquery flag set to true (default). If the supplied TupleExpr is aJoin
or contains aJoin
, projections inside that Join's arguments will not be taken into account.- Parameters:
t
- a tuple expression.- Returns:
true
if the TupleExpr contains a subquery projection (outside of a Join),false
otherwise.
-
containsExtension
Verifies if the suppliedTupleExpr
contains aExtension
. If the supplied TupleExpr is aJoin
or contains aJoin
, aService
clause or a subquery element, extensions inside that element's argument will not be taken into account.- Parameters:
t
- a tuple expression.- Returns:
true
if the TupleExpr contains an Extension (outside of a Join, Service clause, or subquery),false
otherwise.
-
isVariableScopeChange
Verifies if the suppliedTupleExpr
represents a variable scope change.- Parameters:
expr
- aTupleExpr
- Returns:
true
if theTupleExpr
implementsVariableScopeChange
and has its scope change flag set totrue
,false
otherwise.
-
getChildren
-
createConstVar
-
getConstVarName
-
isFilterExistsFunction
Verifies if the supplied expression is a FILTER (NOT) EXISTS operation- Parameters:
expr
- a tuple expression- Returns:
- true if the supplied expression is a FILTER (NOT) EXISTS operation, false otherwise.
-