Package com.sap.cds.ql
Interface CqnBuilder.QueryBuilderSupport
- All Superinterfaces:
Then
- Enclosing interface:
- CqnBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanFunc(String functionName, List<? extends CqnValue> args) booleanValue(boolean bool) comparison(CqnValue lhs, CqnComparisonPredicate.Operator op, CqnValue rhs) connect(CqnConnectivePredicate.Operator operator, Iterable<? extends CqnPredicate> predicates) <T> Literal<T>constant(T value) containment(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) cosineSimilarity(CqnValue vector1, CqnValue vector2) countDistinct(CqnValue value) <T extends StructuredType<T>>
Tentity(Class<T> type, CqnStructuredTypeRef ref) eTag(CqnListValue values) expression(CqnValue left, CqnArithmeticExpression.Operator op, CqnValue right) <T> FunctionCall<T><T> ElementRef<T><T> ElementRef<T>get(List<? extends CqnReference.Segment> segments) in(CqnValue lhs, Collection<? extends CqnValue> values) l2Distance(CqnValue vector1, CqnValue vector2) match(CqnStructuredTypeRef ref, CqnPredicate pred, CqnMatchPredicate.Quantifier quantifier) matchesPattern(CqnValue value, CqnValue pattern) matchesPattern(CqnValue value, CqnValue pattern, boolean caseInsensitive, boolean multilineSensitive) matchesPattern(CqnValue value, CqnValue pattern, CqnValue options) not(CqnPredicate p) now()<T> Parameter<T>Value<?>refSegment(String id) refSegment(String id, CqnPredicate filter) refSegments(List<String> segmentIds) sort(CqnValue value, CqnSortSpecification.Order order) to(List<? extends CqnReference.Segment> segments) userId()<T> Literal<T>val(T value) validTo()when(CqnPredicate when) Connects a nextcase) to a chain of when-then expressions.withAnd()withOr()
-
Method Details
-
toLower
-
toUpper
-
param
-
plain
-
func
-
booleanFunc
-
list
-
not
-
connect
Predicate connect(CqnConnectivePredicate.Operator operator, Iterable<? extends CqnPredicate> predicates) -
withOr
Collector<CqnPredicate,?, withOr()CqnPredicate> -
withAnd
Collector<CqnPredicate,?, withAnd()CqnPredicate> -
entity
-
entity
-
to
-
to
-
get
-
get
-
refSegment
-
refSegment
-
refSegments
-
expression
-
comparison
-
in
-
in
-
in
-
in
-
between
-
search
-
exists
-
match
Predicate match(CqnStructuredTypeRef ref, CqnPredicate pred, CqnMatchPredicate.Quantifier quantifier) -
now
-
validFrom
-
validTo
-
userLocale
-
userId
-
countDistinct
-
cosineSimilarity
-
l2Distance
-
containment
Predicate containment(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) -
constant
-
val
-
vector
-
sort
-
booleanValue
-
nullValue
NullValue nullValue() -
matchesPattern
-
matchesPattern
-
matchesPattern
-
eTag
-
eTag
-
when
Description copied from interface:ThenConnects a nextcase) to a chain of when-then expressions.
-