| Modifier and Type | Method and Description |
|---|---|
void |
accept(CqnVisitor visitor) |
default CqnDelete |
asDelete()
Casts this CQN statement to
CqnDelete. |
default CqnInsert |
asInsert()
Casts this CQN statement to
CqnInsert. |
default CqnSelect |
asSelect()
Casts this CQN statement to
CqnSelect. |
default CqnUpdate |
asUpdate()
Casts this CQN statement to
CqnUpdate. |
default CqnUpsert |
asUpsert()
Casts this CQN statement to
CqnUpsert. |
default boolean |
isDelete()
Returns
true if this is a CqnDelete statement. |
default boolean |
isInsert()
Returns
true if this is a CqnInsert statement. |
default boolean |
isSelect()
Returns
true if this is a CqnSelect statement. |
default boolean |
isUpdate()
Returns
true if this is a CqnUpdate statement. |
default boolean |
isUpsert()
Returns
true if this is a CqnUpsert statement. |
CqnStructuredTypeRef |
ref()
Returns the reference of this statement.
|
toJsonCqnStructuredTypeRef ref()
void accept(CqnVisitor visitor)
default boolean isSelect()
true if this is a CqnSelect statement.true if this is a select statement, otherwise falsedefault boolean isInsert()
true if this is a CqnInsert statement.true if this is an insert statement, otherwise falsedefault boolean isUpsert()
true if this is a CqnUpsert statement.true if this is an upsert statement, otherwise falsedefault boolean isUpdate()
true if this is a CqnUpdate statement.true if this is an update statement, otherwise falsedefault boolean isDelete()
true if this is a CqnDelete statement.true if this is a delete statement, otherwise falsedefault CqnSelect asSelect()
CqnSelect.ClassCastException - if this statement is not a selectdefault CqnInsert asInsert()
CqnInsert.ClassCastException - if this statement is not an insertdefault CqnUpsert asUpsert()
CqnUpsert.ClassCastException - if this statement is not an upsertdefault CqnUpdate asUpdate()
CqnUpdate.ClassCastException - if this statement is not an updatedefault CqnDelete asDelete()
CqnDelete.ClassCastException - if this statement is not a deleteCopyright © 2020 SAP. All rights reserved.