Interface CqnSource

    • Method Detail

      • isRef

        default boolean isRef()
        Returns true if this is a CqnStructuredTypeRef.
        Returns:
        true if this is a structured type reference, otherwise false
      • isSelect

        default boolean isSelect()
        Returns true if this is a CqnSelect statement.
        Returns:
        true if this is a select statement, otherwise false
      • isJoin

        default boolean isJoin()
        Returns true if this is a CqnJoin.
        Returns:
        true if this is a join, otherwise false
      • isQuery

        @Deprecated
        default boolean isQuery()
        Deprecated.
        instead use isSelect()
        Returns true if this is a CqnSelect statement.
        Returns:
        true if this is a select statement, otherwise false
      • asSelect

        default CqnSelect asSelect()
        Casts this CQN source to a CqnSelect.
        Returns:
        this CQN source as a CqnSelect
        Throws:
        ClassCastException - if this CQN source is not a select
      • asJoin

        default CqnJoin asJoin()
        Casts this CQN source to a CqnJoin.
        Returns:
        this CQN source as a CqnJoin
        Throws:
        ClassCastException - if this CQN source is not a join
      • asQuery

        default CqnSelect asQuery()
        Deprecated.
        instead use asSelect()
        Casts this CQN source to a CqnSelect.
        Returns:
        this source as a CqnSelect
        Throws:
        ClassCastException - if this CQN source is not a select