Package org.neo4j.cypherdsl.core
Interface Aliased
-
- All Known Implementing Classes:
AliasedExpression
@API(status=EXPERIMENTAL, since="1.0") public interface AliasedAn 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.Therefor, the Cypher generator needs both
NamedandAliased.- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SymbolicNameasName()Turns this alias into a symbolic name that can be used as anExpression.java.lang.StringgetAlias()
-
-
-
Method Detail
-
getAlias
java.lang.String getAlias()
- Returns:
- the alias.
-
asName
default SymbolicName asName()
Turns this alias into a symbolic name that can be used as anExpression.- Returns:
- A new symbolic name
-
-