- All Known Implementing Classes:
AliasedExpression
@API(status=STABLE,
since="1.0")
public interface Aliased
An element with an alias. An alias has a subtle difference to a symbolic name in cypher. Nodes and relationships can
have symbolic names which in turn can be aliased as well.
Therefore, the Cypher generator needs both Named and Aliased.
- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull SymbolicNameasName()Turns this alias into a symbolic name that can be used as anExpression.@NotNull StringgetAlias()
-
Method Details
-
getAlias
- Returns:
- the alias.
-
asName
Turns this alias into a symbolic name that can be used as anExpression.- Returns:
- A new symbolic name
-