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>interfaceMethods in com.sap.cds.ql with type parameters of type ValueModifier and TypeMethodDescription<T extends Value<?> & CqnCaseExpression>
TConverts a chain of when-then expressions (a list ofcases) to acase expression, which returns a given default value if no condition of any case matches.<T extends Value<?> & CqnCaseExpression>
TConverts a chain of when-then expressions (a list ofcases) to acase expression, which returns a given default value if no condition of any case matches.Methods in com.sap.cds.ql that return ValueModifier and TypeMethodDescriptionCQL.cosineSimilarity(CqnValue vector1, CqnValue vector2) Creates a CDS QL function to compute the cosine similarity of two vectors.CqnBuilder.QueryBuilderSupport.cosineSimilarity(CqnValue vector1, CqnValue vector2) 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) CQL.l2Distance(CqnValue vector1, CqnValue vector2) Creates a CDS QL function to compute the L2 distance of two vectors.CqnBuilder.QueryBuilderSupport.l2Distance(CqnValue vector1, CqnValue vector2) 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 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 valueValue.matchesPattern(Value<String> pattern) Creates a predicate that tests if this value matches a specified regular expressionValue.matchesPattern(Value<String> pattern, boolean caseInsensitive, boolean multiLineSensitive) Creates a predicate that tests if this value matches a specified regular expressionValue.matchesPattern(Value<String> pattern, Value<String> options) Creates a predicate that tests if this value matches a specified regular expressionCreates 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) Deprecated, for removal: This API element is subject to removal in a future version.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
Modifier.selectListValue(SelectableValue, String)instead