public interface CqnSource extends CqnToken
Modifier and Type | Method and Description |
---|---|
default CqnJoin |
asJoin()
Casts this CQN source to a
CqnJoin . |
default CqnSelect |
asQuery()
Deprecated.
instead use
asSelect() |
default CqnStructuredTypeRef |
asRef()
Casts this CQN source to
CqnSelect . |
default CqnSelect |
asSelect()
Casts this CQN source to a
CqnSelect . |
default boolean |
isJoin()
Returns
true if this is a CqnJoin . |
default boolean |
isQuery()
Deprecated.
instead use
isSelect() |
default boolean |
isRef()
Returns
true if this is a CqnStructuredTypeRef . |
default boolean |
isSelect()
Returns
true if this is a CqnSelect statement. |
toJson
default boolean isRef()
true
if this is a CqnStructuredTypeRef
.true
if this is a structured type reference, otherwise
false
default boolean isSelect()
true
if this is a CqnSelect
statement.true
if this is a select statement, otherwise false
default boolean isJoin()
true
if this is a CqnJoin
.true
if this is a join, otherwise false
@Deprecated default boolean isQuery()
isSelect()
true
if this is a CqnSelect
statement.true
if this is a select statement, otherwise false
default CqnStructuredTypeRef asRef()
CqnSelect
.ClassCastException
- if this CQN source is not a selectdefault CqnSelect asSelect()
CqnSelect
.ClassCastException
- if this CQN source is not a selectdefault CqnJoin asJoin()
CqnJoin
.ClassCastException
- if this CQN source is not a joindefault CqnSelect asQuery()
asSelect()
CqnSelect
.ClassCastException
- if this CQN source is not a selectCopyright © 2022 SAP. All rights reserved.