Interface Aliased

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 Type
    Method
    Description
    default SymbolicName
    Turns this alias into a symbolic name that can be used as an Expression.
    Returns the alias.
  • Method Details

    • getAlias

      String getAlias()
      Returns the alias.
      Returns:
      the alias
    • asName

      default SymbolicName asName()
      Turns this alias into a symbolic name that can be used as an Expression.
      Returns:
      a new symbolic name