Constructor and Description |
---|
TupleExprs() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsProjection(TupleExpr t)
Deprecated.
since 2.0. Use
containsSubquery(TupleExpr) instead. |
static boolean |
containsSubquery(TupleExpr t)
Verifies if the supplied
TupleExpr contains a Projection with the subquery flag set to true
(default). |
static Var |
createConstVar(Value value)
Creates an (anonymous) Var representing a constant value.
|
static List<TupleExpr> |
getChildren(TupleExpr t)
Returns
TupleExpr children of the given node. |
static String |
getConstVarName(Value value) |
static boolean |
isFilterExistsFunction(TupleExpr expr)
Verifies if the supplied expression is a FILTER (NOT) EXISTS operation
|
static boolean |
isGraphPatternGroup(TupleExpr expr)
Deprecated.
since 3.2. Use
isVariableScopeChange(TupleExpr) instead. |
static boolean |
isVariableScopeChange(TupleExpr expr)
Verifies if the supplied
TupleExpr represents a variable scope change. |
public static boolean containsSubquery(TupleExpr t)
TupleExpr
contains a Projection
with the subquery flag set to true
(default). If the supplied TupleExpr is a Join
or contains a Join
, projections inside that Join's
arguments will not be taken into account.t
- a tuple expression.true
if the TupleExpr contains a subquery projection (outside of a Join), false
otherwise.public static boolean isVariableScopeChange(TupleExpr expr)
TupleExpr
represents a variable scope change.expr
- a TupleExpr
true
if the TupleExpr
implements VariableScopeChange
and has its scope
change flag set to true
, false
otherwise.@Deprecated public static boolean isGraphPatternGroup(TupleExpr expr)
isVariableScopeChange(TupleExpr)
instead.TupleExpr
represents a group graph pattern.expr
- a TupleExpr
true
if the TupleExpr
is GraphPatternGroupable
and has its graph pattern
group flag set to true
, false
otherwise.@Deprecated public static boolean containsProjection(TupleExpr t)
containsSubquery(TupleExpr)
instead.TupleExpr
contains a Projection
. If the supplied TupleExpr is a
Join
or contains a Join
, projections inside that Join's arguments will not be taken into account.t
- a tuple expression.true
if the TupleExpr contains a projection (outside of a Join), false
otherwise.public static List<TupleExpr> getChildren(TupleExpr t)
TupleExpr
children of the given node.t
- a tuple expression.public static Var createConstVar(Value value)
value
- public static boolean isFilterExistsFunction(TupleExpr expr)
expr
- a tuple expressionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.