Uses of Interface
com.sap.cds.ql.cqn.CqnValue
Packages that use CqnValue
-
Uses of CqnValue in com.sap.cds.ql
Subinterfaces of CqnValue in com.sap.cds.qlModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceElementRef<T>interfaceFunctionCall<T>interfaceLiteral<T>interfaceinterfaceParameter<T>interfaceinterfaceRepresents a value that can be selected in a query.interfaceValue<T>interfaceMethods in com.sap.cds.ql with parameters of type CqnValueModifier and TypeMethodDescriptionstatic FunctionCall<Number>Creates an average function call on the given element or expression.static PredicateCreates abetweenpredicate that tests if thisvalueis within a closed interval with given boundsstatic PredicateCQL.comparison(CqnValue lhs, CqnComparisonPredicate.Operator op, CqnValue rhs) Creates a comparison predicate.CqnBuilder.QueryBuilderSupport.comparison(CqnValue lhs, CqnComparisonPredicate.Operator op, CqnValue rhs) static PredicateCQL.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.PositionCqnBuilder.QueryBuilderSupport.containment(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) static PredicateCreates a predicate that tests whether a string value contains a given substringCQL.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) static FunctionCall<Long>CQL.countDistinct(CqnValue value) Creates an count distinct function call on the given element or expression.CqnBuilder.QueryBuilderSupport.countDistinct(CqnValue value) static PredicateCreates 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 PredicateCreates an IN predicate that tests if this value is equal to any value returned by the subquery.static PredicateCreates aninpredicate.static PredicateCQL.in(CqnValue value, Collection<? extends CqnValue> values) Creates aninpredicate.CqnBuilder.QueryBuilderSupport.in(CqnValue lhs, Collection<? extends CqnValue> values) 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) static CqnListValueCreates aCqnListValuecomposing given valuesstatic PredicateCQL.matchesPattern(CqnValue value, CqnValue pattern) Creates a predicate that tests if this value matches a specified regular expressionstatic PredicateCQL.matchesPattern(CqnValue value, CqnValue pattern, boolean caseInsensitive, boolean multiLineSensitive) Creates a predicate that tests if this value matches a specified regular expressionstatic PredicateCQL.matchesPattern(CqnValue value, CqnValue pattern, CqnValue options) Creates a predicate that tests if this value matches a specified regular expressionstatic PredicateCQL.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> FunctionCall<T>Creates a max function call on the given element or expression.static <T> FunctionCall<T>Creates a min function call on the given element or expression.<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.Create a window function from this function call over a window with given partitionsAdds an element to be updated to the update statement.static CqnSortSpecificationCQL.sort(CqnValue value, CqnSortSpecification.Order order) Creates aCqnSortSpecificationthat sorts a value by a given orderCqnBuilder.QueryBuilderSupport.sort(CqnValue value, CqnSortSpecification.Order order) static PredicateCQL.startsWith(CqnValue value, CqnValue prefix, boolean caseInsensitive) Creates a predicate that tests whether a string value starts with a given prefixstatic FunctionCall<Number>Creates a sum function call on the given element or expression.Specifies the return value of acase.Method parameters in com.sap.cds.ql with type arguments of type CqnValueModifier and TypeMethodDescriptionstatic BooleanFunctionCQL.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 PredicateCQL.in(CqnValue value, Collection<? extends CqnValue> values) Creates aninpredicate.CqnBuilder.QueryBuilderSupport.in(CqnValue lhs, Collection<? extends CqnValue> values) static CqnListValueCreates aCqnListValuecomposing given valuesCreate a window function from this function call over a window with given partitionsCreate a window function from this function call over a window with given partitionsSets the values to be updated by the update statement. -
Uses of CqnValue in com.sap.cds.ql.cqn
Subinterfaces of CqnValue in com.sap.cds.ql.cqnModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceThebetweenpredicate that tests if theCqnBetweenPredicate.value()is within a closed interval with given bounds ofCqnBetweenPredicate.low()andCqnBetweenPredicate.high().interfaceinterfaceA case expression, which represents IF - THEN - ELSE logic.interfaceinterfaceinterfaceinterfaceinterfacePredicate that tests whether eTag element of an entity matches any valueinterfaceinterfaceinterfaceinterfaceinterfaceTheinsubquery predicate tests wether anactual value(n-tuple) is equal to any value (n-tuple) returned by a definedsubquery.interfaceinterfaceCqnLiteral<T>A CQN literal value of typeCqnLiteral.interfacePredicate that tests whether any|all elements of an entity set match a given conditioninterfaceinterfaceinterfaceCqnNumericLiteral<N extends Number>interfaceinterfaceinterfaceinterfaceinterfaceDeprecated, for removal: This API element is subject to removal in a future version.interfaceinterfaceinterfaceinterfaceCqnTemporalLiteral<E extends Temporal>interfaceinterfaceA window function call.Methods in com.sap.cds.ql.cqn with type parameters of type CqnValueModifier and TypeMethodDescriptiondefault <T extends CqnValue>
TCasts this type to the giventype.Methods in com.sap.cds.ql.cqn that return CqnValueModifier and TypeMethodDescriptiondefault CqnValueModifier.caseExpression(List<CqnCaseExpression.Case> cases, CqnValue defaultValue, String type) Override this method to replace ancaseexpression.CqnCaseExpression.defaultValue()The default value, which is returned if no condition of any case matchesdefault CqnValueModifier.expression(Value<Number> left, CqnArithmeticExpression.Operator op, Value<Number> right, String type) Override this method to replace anarithmeticexpression.default CqnValueOverride this method to replace afunctioncall.CqnBetweenPredicate.high()CqnArithmeticExpression.left()CqnComparisonPredicate.left()default CqnValuedefault CqnValueModifier.literal(CqnLiteral<?> value) CqnBetweenPredicate.low()default CqnValueModifier.parameter(CqnParameter param) Override this method to replaceparameters.default CqnValuedefault CqnValueModifier.ref(CqnElementRef ref) CqnArithmeticExpression.right()CqnComparisonPredicate.right()CqnContainmentTest.term()CqnArithmeticNegation.value()CqnBetweenPredicate.value()CqnCaseExpression.Case.value()The result valueCqnContainmentTest.value()default CqnValueCqnElementRef.value()CqnInPredicate.value()The actualCqnValuethat is tested against the values given byCqnInPredicate.valueSet().CqnInSubquery.value()The actualCqnValue(n-tuple) that is being compared to the result set (n-tuples) of theCqnInSubquery.subquery().CqnSelectListValue.value()CqnSortSpecification.value()CqnInPredicate.valueSet()Defines the set of expected values theactual valueis tested against.default CqnValueModifier.windowFunction(CqnWindowFunc func) Override this method to replace awindow functioncall.Methods in com.sap.cds.ql.cqn that return types with arguments of type CqnValueModifier and TypeMethodDescriptionCqnFunc.args()Returns the arguments of this function call.CqnSelect.groupBy()CqnWindowFunc.WindowSpecification.partitionBy()Returns the partitions of this window specificationCqnUpdate.setters()The setters of this statement.default Collection<CqnValue>CqnInPredicate.values()Returns the collection of expected values in caseCqnInPredicate.valueSet()is aCqnListValue, otherwise aClassCastExceptionis thrown.CqnListValue.values()Methods in com.sap.cds.ql.cqn with parameters of type CqnValueModifier and TypeMethodDescriptiondefault CqnPredicateOverride this method to replace abetweenpredicate that that tests if thisvalueis within a closed interval with given bounds oflowandhigh.default CqnValueModifier.caseExpression(List<CqnCaseExpression.Case> cases, CqnValue defaultValue, String type) Override this method to replace ancaseexpression.default CqnPredicateModifier.containment(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) Override this method to replace acontainmenttest predicate.default CqnPredicateOverride this method to replace aninpredicate that checks if the givenvalueis equal to any value in thevalueSet.Method parameters in com.sap.cds.ql.cqn with type arguments of type CqnValue -
Uses of CqnValue in com.sap.cds.reflect
Methods in com.sap.cds.reflect that return types with arguments of type CqnValueModifier and TypeMethodDescriptionCdsElementDefinition.getExpression()Returns the expression that calculates this element.
CqnSearchTermPredicateinstead.