- All Known Subinterfaces:
Named
,Node
,Property
,PropertyContainer
,Relationship
- All Known Implementing Classes:
AliasedExpression
,Asterisk
,NamedPath
,NodeBase
,RelationshipBase
,SymbolicName
public sealed interface IdentifiableElement
permits AliasedExpression, Asterisk, Named, Property, SymbolicName
This interface represents an element that can be for example an identifiable part of the
WITH
clause.
It has been introduced to circumvent the absence of union types in Java
and to avoid an overload of ExposesWith.with(String...)
or other expressions with an Object...
parameter. This type here allows passing named things
. aliased expression
,
symobolic names
into a pipeline.
There should be no need to implement this on your own.
- Since:
- 2021.2.2
- Author:
- Michael J. Simons
-
Method Summary
-
Method Details
-
asExpression
Transform this element into an expression- Returns:
- this element as an expression. Will return the same instance if it is already an expression.
- Since:
- 2021.2.2
-