Package org.neo4j.cypherdsl.core
Class AliasedExpression
- java.lang.Object
-
- org.neo4j.cypherdsl.core.AliasedExpression
-
- All Implemented Interfaces:
Aliased,Expression,Visitable
@API(status=EXPERIMENTAL, since="1.0") public final class AliasedExpression extends java.lang.Object implements Aliased, ExpressionAn aliased expression, that deals with named expressions when accepting visitors.- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)AliasedExpressionas(java.lang.String newAlias)This takes the originally aliased expression and re-aliases it.java.lang.StringgetAlias()ExpressiongetDelegate()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, ascending, concat, contains, descending, divide, endsWith, eq, gt, gte, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, startsWith, subtract
-
-
-
-
Method Detail
-
getAlias
@API(status=INTERNAL) public java.lang.String getAlias()
-
getDelegate
@API(status=INTERNAL) public Expression getDelegate()
- Returns:
- The thing that has been aliased.
-
as
public AliasedExpression as(java.lang.String newAlias)
This takes the originally aliased expression and re-aliases it. Aliases are not nested.- Specified by:
asin interfaceExpression- Parameters:
newAlias- The new alias to use- Returns:
- A new aliased, expression.
-
-