Uses of Interface
com.sap.cds.ql.cqn.CqnValue
-
Uses of CqnValue in com.sap.cds.ql
Modifier and TypeInterfaceDescriptioninterface
interface
interface
ElementRef<T>
interface
FunctionCall<T>
interface
Literal<T>
interface
interface
Parameter<T>
interface
interface
Value<T>
Modifier and TypeMethodDescriptionCreates an average function call on the given element or expression.static Predicate
CQL.comparison
(CqnValue lhs, CqnComparisonPredicate.Operator op, CqnValue rhs) Creates a comparison predicate.CqnBuilder.QueryBuilderSupport.comparison
(CqnValue lhs, CqnComparisonPredicate.Operator op, CqnValue rhs) static Predicate
CQL.containment
(CqnContainmentTest.Position position, CqnValue value, CqnValue substring, boolean caseInsensitive) Creates a predicate that tests whether a string value contains a given substring at a given positionCqnContainmentTest.Position
CqnBuilder.QueryBuilderSupport.containment
(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) static Predicate
Creates a predicate that tests whether a string value contains a given substringCQL.countDistinct
(CqnValue value) Creates an count distinct function call on the given element or expression.CqnBuilder.QueryBuilderSupport.countDistinct
(CqnValue value) static Predicate
Creates a predicate that tests whether a string value ends with a given suffixCQL.expression
(CqnValue left, CqnArithmeticExpression.Operator op, CqnValue right) Creates an arithmetic expression.CqnBuilder.QueryBuilderSupport.expression
(CqnValue left, CqnArithmeticExpression.Operator op, CqnValue right) static <T> FunctionCall<T>
Creates a CDS QL function call that is send to the underlying data store.Sets the group by clause of the select statement.static Predicate
Creates anin
predicate.static Predicate
CQL.in
(CqnValue value, Collection<? extends CqnValue> values) Creates anin
predicate.CqnBuilder.QueryBuilderSupport.in
(CqnValue lhs, Collection<? extends CqnValue> values) static CqnListValue
Creates aCqnListValue
composing given valuesstatic Predicate
CQL.matchesPattern
(CqnValue value, CqnValue pattern) Creates a predicate that tests if this value matches a specified regular expressionstatic Predicate
CQL.matchesPattern
(CqnValue value, CqnValue pattern, boolean caseInsensitive, boolean multiLineSensitive) Creates a predicate that tests if this value matches a specified regular expressionstatic Predicate
CQL.matchesPattern
(CqnValue value, CqnValue pattern, CqnValue options) Creates a predicate that tests if this value matches a specified regular expressionstatic Predicate
CQL.matchesPattern
(CqnValue value, String pattern) Creates a predicate that tests if this value matches a specified regular expressionCqnBuilder.QueryBuilderSupport.matchesPattern
(CqnValue value, CqnValue pattern) CqnBuilder.QueryBuilderSupport.matchesPattern
(CqnValue value, CqnValue pattern, boolean caseInsensitive, boolean multilineSensitive) CqnBuilder.QueryBuilderSupport.matchesPattern
(CqnValue value, CqnValue pattern, CqnValue options) static <T> Value<T>
Creates a max function call on the given element or expression.static <T> Value<T>
Creates a min function call on the given element or expression.Adds an element to be updated to the update statement.static CqnSortSpecification
CQL.sort
(CqnValue value, CqnSortSpecification.Order order) Creates aCqnSortSpecification
that sorts a value by a given orderCqnBuilder.QueryBuilderSupport.sort
(CqnValue value, CqnSortSpecification.Order order) static Predicate
CQL.startsWith
(CqnValue value, CqnValue prefix, boolean caseInsensitive) Creates a predicate that tests whether a string value starts with a given prefixCreates a sum function call on the given element or expression.Modifier and TypeMethodDescriptionstatic BooleanFunction
CQL.booleanFunc
(String name, List<? extends CqnValue> args) Creates a CDS QL function call that is send to the underlying data store.CqnBuilder.QueryBuilderSupport.booleanFunc
(String functionName, List<? extends CqnValue> args) static <T> FunctionCall<T>
Creates a CDS QL function call that is send to the underlying data store.<T> FunctionCall<T>
Sets the group by clause of the select statement.Sets the group by clause of the select statement.static Predicate
CQL.in
(CqnValue value, Collection<? extends CqnValue> values) Creates anin
predicate.CqnBuilder.QueryBuilderSupport.in
(CqnValue lhs, Collection<? extends CqnValue> values) static CqnListValue
Creates aCqnListValue
composing given valuesSets the values to be updated by the update statement. -
Uses of CqnValue in com.sap.cds.ql.cqn
Modifier and TypeInterfaceDescriptioninterface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
interface
CqnLiteral<T>
A CQN literal value of typeCqnLiteral
.interface
Predicate that tests whether any|all elements of an entity set match a given conditioninterface
interface
interface
CqnNumericLiteral<N extends Number>
interface
interface
interface
interface
interface
interface
interface
CqnTemporalLiteral<E extends Temporal>
Modifier and TypeMethodDescriptiondefault <T extends CqnValue>
TCasts this type to the giventype
.Modifier and TypeMethodDescriptiondefault CqnValue
Modifier.expression
(Value<Number> left, CqnArithmeticExpression.Operator op, Value<Number> right, String type) Override this method to replace anarithmetic
expression.default CqnValue
Override this method to replace afunction
call.CqnArithmeticExpression.left()
CqnComparisonPredicate.left()
default CqnValue
default CqnValue
Modifier.literal
(CqnLiteral<?> value) default CqnValue
Modifier.parameter
(CqnParameter param) Override this method to replaceparameters
.default CqnValue
default CqnValue
Modifier.ref
(CqnElementRef ref) CqnArithmeticExpression.right()
CqnComparisonPredicate.right()
CqnContainmentTest.term()
CqnArithmeticNegation.value()
CqnContainmentTest.value()
default CqnValue
CqnElementRef.value()
CqnInPredicate.value()
The actualCqnValue
that is tested against the values given byCqnInPredicate.valueSet()
.CqnSelectListValue.value()
CqnSortSpecification.value()
CqnInPredicate.valueSet()
Defines the set of expected values theactual value
is tested against.Modifier and TypeMethodDescriptionCqnFunc.args()
Returns the arguments of this function call.CqnSelect.groupBy()
CqnUpdate.setters()
The setters of this statement.default Collection<CqnValue>
CqnInPredicate.values()
Returns the collection of expected values in caseCqnInPredicate.valueSet()
is aCqnListValue
, otherwise aClassCastException
is thrown.CqnListValue.values()
Modifier and TypeMethodDescriptiondefault CqnPredicate
Modifier.containment
(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) Override this method to replace acontainment
test predicate.default CqnPredicate
Override this method to replace anin
predicate that checks if the givenvalue
is equal to any value in thevalueSet
. -
Uses of CqnValue in com.sap.cds.reflect
Modifier and TypeMethodDescriptionCdsElement.getExpression()
Returns the expression that calculates this element.