public interface CdsDataStore
Modifier and Type | Method and Description |
---|---|
default Result |
execute(CqnDelete delete)
Executes a
CqnDelete statement . |
Result |
execute(CqnDelete delete,
Iterable<Map<String,Object>> valueSets)
Executes a
CqnDelete statement as batch with the given named
parameter values. |
Result |
execute(CqnDelete delete,
Map<String,Object> namedValues)
Executes a
CqnDelete statement with values for named parameters, see
CQL.param(String) . |
Result |
execute(CqnDelete delete,
Object... paramValues)
Executes a
CqnDelete statement with optional positional values for
indexed parameters, see CQL.param(int) . |
Result |
execute(CqnInsert insert)
Executes a
CqnInsert statement. |
Result |
execute(CqnSelect select,
Map<String,Object> namedValues)
Executes a
CqnSelect statement with values for named parameters, see
CQL.param(String) . |
Result |
execute(CqnSelect select,
Object... paramValues)
Executes a
CqnSelect statement with optional positional values for
indexed parameters, see CQL.param(int) . |
default Result |
execute(CqnUpdate update)
Executes a
CqnUpdate statement. |
Result |
execute(CqnUpdate update,
Iterable<Map<String,Object>> valueSets)
Executes a
CqnUpdate statement as batch with the given named
parameter values. |
Result |
execute(CqnUpdate update,
Map<String,Object> namedValues)
Executes a
CqnUpdate statement with values for named parameters, see
CQL.param(String) . |
Result |
execute(CqnUpdate update,
Object... paramValues)
Executes a
CqnUpdate statement with optional positional values for
indexed parameters, see CQL.param(int) . |
Result |
execute(CqnUpsert upsert)
Executes a
CqnUpsert statement. |
SessionContext |
getSessionContext() |
void |
setSessionContext(SessionContext session) |
Result execute(CqnSelect select, Object... paramValues)
CqnSelect
statement with optional positional values for
indexed parameters, see CQL.param(int)
.select
- the CQN select statement to be executedparamValues
- the positional parameter valuesResult
of the queryResult execute(CqnSelect select, Map<String,Object> namedValues)
CqnSelect
statement with values for named parameters, see
CQL.param(String)
.select
- the CQN select statement to be executednamedValues
- the named parameter valuesResult
of the queryResult execute(CqnInsert insert)
CqnInsert
statement.insert
- the CQN insert statement to be executedResult
of the insertResult execute(CqnUpsert upsert)
CqnUpsert
statement.upsert
- the CQN upsert statement to be executedResult
of the upsertdefault Result execute(CqnUpdate update)
CqnUpdate
statement.update
- the CQN update statement to be executedResult
of the updateResult execute(CqnUpdate update, Object... paramValues)
CqnUpdate
statement with optional positional values for
indexed parameters, see CQL.param(int)
.update
- the CQN update statement to be executedparamValues
- the positional parameter valuesResult
of the updateResult execute(CqnUpdate update, Map<String,Object> namedValues)
CqnUpdate
statement with values for named parameters, see
CQL.param(String)
.update
- the CQN update statement to be executednamedValues
- the named parameter valuesResult
of the updateResult execute(CqnUpdate update, Iterable<Map<String,Object>> valueSets)
CqnUpdate
statement as batch with the given named
parameter values.update
- the CQN update statement to be executedvalueSets
- the named parameter value setsResult
of the batch updatedefault Result execute(CqnDelete delete)
CqnDelete
statement .delete
- the CQN delete statement to be executedResult
of the deleteResult execute(CqnDelete delete, Object... paramValues)
CqnDelete
statement with optional positional values for
indexed parameters, see CQL.param(int)
.delete
- the CQN delete statement to be executedparamValues
- the positional parameter valuesResult
of the deleteResult execute(CqnDelete delete, Map<String,Object> namedValues)
CqnDelete
statement with values for named parameters, see
CQL.param(String)
.delete
- the CQN delete statement to be executednamedValues
- the named parameter valuesResult
of the deleteResult execute(CqnDelete delete, Iterable<Map<String,Object>> valueSets)
CqnDelete
statement as batch with the given named
parameter values.delete
- the CQN delete statement to be executedvalueSets
- the named parameter value setsResult
of the batch deleteSessionContext getSessionContext()
void setSessionContext(SessionContext session)
Copyright © 2021 SAP. All rights reserved.