public interface CqnBuilder
Modifier and Type | Interface and Description |
---|---|
static interface |
CqnBuilder.QueryBuilderSupport |
static CqnBuilder instance()
@Deprecated static <T> Parameter<T> param()
CQL.param(int)
T
- the type of the parameter@Deprecated static <T> Parameter<T> param(String name)
CQL.param(String)
T
- the type of the parametername
- the name of the parameter@Deprecated static <T> Literal<T> literal(T val)
CQL.literal(T)
T
- the type of the literalval
- the literal value@Deprecated static CqnValue plain(String val)
CQL.plain(java.lang.String)
val
- the plain value@Deprecated static Value<String> toUpper(String val)
CQL.toUpper(com.sap.cds.ql.Value<java.lang.String>)
val
- the String value to be converted@Deprecated static Value<String> toLower(String val)
CQL.toLower(com.sap.cds.ql.Value<java.lang.String>)
val
- the String value to be converted@Deprecated static <T> FunctionCall<T> func(String name, CqnValue... args)
CQL.func(java.lang.String, com.sap.cds.ql.cqn.CqnValue...)
T
- the return type of the function callname
- the name of the function to be calledargs
- the arguments of the function@Deprecated static Predicate not(CqnPredicate p)
CQL.not(com.sap.cds.ql.cqn.CqnPredicate)
p
- the CqnPredicate
to be negatedSelect<StructuredType<?>> select(String entityName)
Select<StructuredType<?>> select(String entityName, UnaryOperator<StructuredType<?>> path)
Select<StructuredType<?>> select(CqnSelect select)
Insert insert(String entityName, UnaryOperator<StructuredType<?>> path)
Upsert upsert(String entityName, UnaryOperator<StructuredType<?>> path)
Update<StructuredType<?>> update(String entityName, UnaryOperator<StructuredType<?>> path)
Delete<StructuredType<?>> delete(String entityName, UnaryOperator<StructuredType<?>> path)
Select<StructuredType<?>> select(CqnStructuredTypeRef ref)
Insert insert(CqnStructuredTypeRef ref)
Upsert upsert(CqnStructuredTypeRef ref)
Update<StructuredType<?>> update(CqnStructuredTypeRef ref)
Delete<StructuredType<?>> delete(CqnStructuredTypeRef ref)
Select<StructuredType<?>> select(CdsEntity entity)
Select<StructuredType<?>> select(CdsEntity entity, UnaryOperator<StructuredType<?>> path)
Insert insert(CdsEntity entity, UnaryOperator<StructuredType<?>> path)
Upsert upsert(CdsEntity entity, UnaryOperator<StructuredType<?>> path)
Update<StructuredType<?>> update(CdsEntity entity, UnaryOperator<StructuredType<?>> path)
Delete<StructuredType<?>> delete(CdsEntity entity, UnaryOperator<StructuredType<?>> path)
<E extends StructuredType<E>> Select<E> select(Class<E> entity)
<E extends StructuredType<E>,R extends StructuredType<R>> Select<R> select(Class<E> entity, Function<E,R> path)
<E extends StructuredType<E>> Select<E> select(Source<E> source)
<E extends StructuredType<?>> Insert insert(E entity)
<E extends StructuredType<?>> Upsert upsert(E entity)
<E extends StructuredType<?>> Update<E> update(E entity)
<E extends StructuredType<?>> Delete<E> delete(E entity)
<E extends StructuredType<E>,R extends StructuredType<R>> Insert insert(Class<E> entity, Function<E,R> path)
<E extends StructuredType<E>,R extends StructuredType<R>> Delete<R> delete(Class<E> entity, Function<E,R> path)
<E extends StructuredType<E>,R extends StructuredType<R>> Upsert upsert(Class<E> entity, Function<E,R> path)
<E extends StructuredType<E>,R extends StructuredType<R>> Update<R> update(Class<E> entity, Function<E,R> path)
Predicate copy(CqnPredicate pred)
Predicate copy(CqnPredicate pred, Modifier modifier)
<S extends CqnStatement,R extends S> R copy(S statement)
<S extends CqnStatement,R extends S> R copy(S statement, Modifier modifier)
CqnParser parse()
CqnBuilder.QueryBuilderSupport support()
Copyright © 2022 SAP. All rights reserved.