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()
-
-
-
Method Detail
-
getAlias
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.
-
-