java.lang.Object
org.neo4j.cypherdsl.core.AliasedExpression
- All Implemented Interfaces:
Aliased,Visitable,Expression,IdentifiableElement
@API(status=STABLE,
since="1.0")
public final class AliasedExpression
extends Object
implements Aliased, Expression, IdentifiableElement
An aliased expression, that deals with named expressions when accepting visitors.
- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull AliasedExpressionThis takes the originally aliased expression and re-aliases it.@NotNull ExpressionTransform this element into an expression@NotNull StringgetAlias()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, ascending, asCondition, concat, contains, descending, divide, endsWith, eq, gt, gte, hasSize, in, includesAll, includesAny, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, size, sorted, startsWith, subtract
-
Method Details
-
getAlias
-
as
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.
-
accept
Description copied from interface:Visitable -
asExpression
Description copied from interface:IdentifiableElementTransform this element into an expression- Specified by:
asExpressionin interfaceIdentifiableElement- Returns:
- this element as an expression. Will return the same instance if it is already an expression.
-