Interface CqnStructuredTypeRef

All Superinterfaces:
CqnReference, CqnSource, CqnToken, JSONizable
All Known Subinterfaces:
StructuredTypeRef

public interface CqnStructuredTypeRef extends CqnReference, CqnSource
  • Method Details

    • isRef

      default boolean isRef()
      Description copied from interface: CqnSource
      Returns true if this is a CqnStructuredTypeRef.
      Specified by:
      isRef in interface CqnSource
      Returns:
      true if this is a structured type reference, otherwise false
    • asRef

      default CqnStructuredTypeRef asRef()
      Description copied from interface: CqnSource
      Casts this CQN source to CqnSelect.
      Specified by:
      asRef in interface CqnSource
      Returns:
      this CQN source as a CqnSelect
    • alias

      Optional<String> alias()
      Specified by:
      alias in interface CqnReference
    • accept

      default void accept(CqnVisitor visitor)
      Description copied from interface: CqnToken
      Traverses the expression tree represented by this token with a given visitor. The traversal order is depth-first. If this token has child nodes they are traversed first by dispatching the visitor to the children's accept methods. Afterwards this token is passed to the visitor's visit method specific for this token's type.
      Specified by:
      accept in interface CqnToken
      Parameters:
      visitor - the CqnVisitor