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 TypeMethodDescriptionValue.ceiling()Creates a function that rounds this numeric value up to the nearest integerCQL.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) Value.floor()Creates a function that rounds this numeric value down to the nearest integerCreates a function to return the relative position of a substring in a given string (zero-based)Creates a function to return the relative position of a substring in this string (zero-based)Creates a function to return the relative position of a substring in this string (zero-based)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 a function to return the number of characters in a given string.Value.length()Creates an function to return the number of characters in the string.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.round()Creates a function that rounds this numeric value to the nearest integerCreates a function to extract a substring from a given string value starting from a position.Creates a function to extract a substring with a given length from a given string value starting from a position.Creates a function to extract a substring from a given string value starting from a position.Creates a function to extract a substring with a given length from a given string value starting from a position.Value.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.Creates a function to trim a given string value.Value.trim()<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 function to return the relative position of a substring in this string (zero-based)Creates 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 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