public interface CqnSelect extends CqnStatement, CqnEntitySelector, CqnToken, CqnSource
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor)
Traverses the clauses of this
CqnSelect with a given visitor . |
default CqnSelect |
asSelect()
Casts this CQN statement to
CqnSelect . |
default List<CqnSelectListItem> |
columns()
Deprecated.
instead use
CqnEntitySelector.items() |
default void |
dispatch(CqnVisitor visitor)
Dispatches a given visitor to all clause except the ref or source of this
entity selector
|
List<String> |
excluding() |
CqnSource |
from() |
Optional<CqnLock> |
getLock() |
List<CqnValue> |
groupBy() |
boolean |
hasInlineCount() |
Optional<CqnPredicate> |
having() |
boolean |
isDistinct() |
default boolean |
isSelect()
Returns
true if this is a CqnSelect statement. |
Optional<CqnPredicate> |
search() |
Optional<CqnPredicate> |
where() |
asDelete, asInsert, asUpdate, asUpsert, isDelete, isInsert, isUpdate, isUpsert, ref
hasLimit, items, limit, orderBy, ref, skip, top
asJoin, asQuery, asRef, isJoin, isQuery, isRef
toJson
CqnSource from()
boolean isDistinct()
boolean hasInlineCount()
@Deprecated default List<CqnSelectListItem> columns()
CqnEntitySelector.items()
Optional<CqnPredicate> where()
Optional<CqnPredicate> having()
Optional<CqnPredicate> search()
default boolean isSelect()
CqnStatement
true
if this is a CqnSelect
statement.isSelect
in interface CqnSource
isSelect
in interface CqnStatement
true
if this is a select statement, otherwise false
default CqnSelect asSelect()
CqnStatement
CqnSelect
.asSelect
in interface CqnSource
asSelect
in interface CqnStatement
default void accept(CqnVisitor visitor)
CqnSelect
with a given visitor
.
If the source of this select is a structured type reference it is visited
first.
The other clauses are traversed depth-first in the following order:
CqnSelect
is passed to the
CqnVisitor.visit(CqnSelect)
method.accept
in interface CqnToken
visitor
- the CqnVisitor
default void dispatch(CqnVisitor visitor)
CqnEntitySelector
dispatch
in interface CqnEntitySelector
visitor
- the visitorCopyright © 2022 SAP. All rights reserved.