- 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 SymbolicNameasName()Turns this alias into a symbolic name that can be used as anExpression.getAlias()Returns the alias.
-
Method Details
-
getAlias
String getAlias()Returns the alias.- Returns:
- the alias
-
asName
Turns this alias into a symbolic name that can be used as anExpression.- Returns:
- a new symbolic name
-