Uses of Interface
com.sap.cds.ql.Value
Packages that use Value
-
Uses of Value in com.sap.cds.ql
Subinterfaces of Value in com.sap.cds.qlModifier and TypeInterfaceDescriptioninterfaceinterfaceElementRef<T>interfaceFunctionCall<T>interfaceLiteral<T>interfaceinterfaceParameter<T>Methods in com.sap.cds.ql that return ValueModifier and TypeMethodDescriptionCreates an average function call on the given element or expression.Value.average()Creates a function by passing this value as a parameter to the underlying data store's AVG function.CQL.count()Creates a count all function call.CQL.count(CqnElementRef element) Creates a count function call on the given element.CQL.countDistinct(CqnValue value) Creates an count distinct function call on the given element or expression.CqnBuilder.QueryBuilderSupport.countDistinct(CqnValue value) Value.countDistinct()Creates a function by passing this value as a parameter with the DISTINCT keyword to the underlying data store's COUNT function.Creates an expression that divides this numeric value by a given divisorCreates an expression that divides this numeric value by a given divisorCQL.expression(CqnValue left, CqnArithmeticExpression.Operator op, CqnValue right) Creates an arithmetic expression.CqnBuilder.QueryBuilderSupport.expression(CqnValue left, CqnArithmeticExpression.Operator op, CqnValue right) static <T> Value<T>Creates a max function call on the given element or expression.Value.max()Creates a function by passing this value as a parameter to the underlying data store's MAX function.static <T> Value<T>Creates a min function call on the given element or expression.Value.min()Creates a function by passing this value as a parameter to the underlying data store's MIN function.Creates an expression that subtracts a given subtrahend from this numeric valueCreates an expression that subtracts a given subtrahend from this numeric valueCQL.now()Creates anElementRefto be used in queries to represent $now.CqnBuilder.QueryBuilderSupport.now()static Value<?>Creates a CQN plain value, which is directly send to the underlying data store.Value<?>Creates an expression that adds a given summand to this numeric valueCreates an expression that adds a given summand to this numeric valueValue.substring(int start) Creates an expression for substring extraction from this string value.Value.substring(int start, int length) Creates an expression for substring extraction from this string value.Creates an expression for substring extraction from this string value.Creates an expression for substring extraction from this value.Creates a sum function call on the given element or expression.Value.sum()Creates a function by passing this value as a parameter to the underlying data store's SUM function.Creates an expression that multiplies this numeric value with a given factorCreates an expression that multiplies this numeric value with a given factorCreates a CDS QL expression for converting the given string value to lower case using the rules of the underlying data store.Creates a CDS QL expression for converting the given string value to lower case using the rules of the underlying data store.Value.toLower()Creates an expression for converting this string value to lower case using the rules of the underlying data store.Creates a CDS QL expression for converting the given string value to upper case using the rules of the underlying data store.Creates a CDS QL expression for converting the given string value to upper case using the rules of the underlying data store.Value.toUpper()Creates an expression for converting this string value to upper case using the rules of the underlying data store.<U> Value<U>Sets the type.<U> Value<U>Value.type(CdsBaseType cdsType) Sets the type.<U> Value<U>Sets the type.<U> Value<U>Sets the type.CQL.userId()Creates anElementRefon the available $user.id value.CqnBuilder.QueryBuilderSupport.userId()CQL.userLocale()Creates anElementRefon the available $user.locale value.CqnBuilder.QueryBuilderSupport.userLocale()CQL.validFrom()Creates anElementRefon the available $validFrom value.CqnBuilder.QueryBuilderSupport.validFrom()CQL.validTo()Creates anElementRefon the available $validTo value.CqnBuilder.QueryBuilderSupport.validTo()Methods in com.sap.cds.ql with parameters of type ValueModifier and TypeMethodDescriptionCreates a between predicate that tests if this value is within a closed interval with given boundsCreates a between predicate that tests if this value is within a closed interval with given boundsCreates a between predicate that tests if this value is within a closed interval with given boundsCreates a predicate that tests whether this string value contains a given substringCreates a predicate that tests whether this string value contains a given substringCreates an expression that divides this numeric value by a given divisorCreates a predicate that tests whether this string value ends with a given suffixCreates a comparison predicate that tests if this value is equal to a given value.Creates a predicate that applies a given function to this values and optional additional valuesCreates a comparison predicate that tests if this value is greater than or equal to a given valueCreates a comparison predicate that tests if this value is greater than a given valueCreates an IN predicate that tests if this value is equal to any value in a given listCreates a comparison predicate that tests if this value is equal to a given value.Creates a comparison predicate that tests if this value is not equal to a given value.Creates a comparison predicate that tests if this value is less than or equal to a given valueCreates a comparison predicate that tests if this value is less than a given valueCreates an expression that subtracts a given subtrahend from this numeric valueCreates a comparison predicate that tests if this value is not equal to a given value.Creates an expression that adds a given summand to this numeric valueValue.startsWith(Value<String> prefix) Creates a predicate that tests whether this string value starts with a given prefixCreates an expression for substring extraction from this string value.Creates an expression for substring extraction from this value.Creates an expression that multiplies this numeric value with a given factorCreates a CDS QL expression for converting the given string value to lower case using the rules of the underlying data store.Creates a CDS QL expression for converting the given string value to upper case using the rules of the underlying data store.Method parameters in com.sap.cds.ql with type arguments of type Value -
Uses of Value in com.sap.cds.ql.cqn
Methods in com.sap.cds.ql.cqn with parameters of type ValueModifier and TypeMethodDescriptiondefault CqnPredicateModifier.comparison(Value<?> lhs, CqnComparisonPredicate.Operator op, Value<?> rhs) Override this method to replace acomparisonpredicate.default CqnValueModifier.expression(Value<Number> left, CqnArithmeticExpression.Operator op, Value<Number> right, String type) Override this method to replace anarithmeticexpression.default CqnPredicateOverride this method to replace aninpredicate that checks if the givenvalueis equal to any value in thevalueSet.default CqnSelectListItemModifier.selectListValue(Value<?> value, String alias) default CqnSortSpecificationModifier.sort(Value<?> value, CqnSortSpecification.Order order) Method parameters in com.sap.cds.ql.cqn with type arguments of type ValueModifier and TypeMethodDescriptiondefault CqnPredicateModifier.booleanFunction(String name, List<Value<?>> args) Override this method to replace a predicatefunctioncall.default CqnValueOverride this method to replace afunctioncall.default CqnValue