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>interfaceinterfaceValue<T>Methods in com.sap.cds.ql with parameters of type CqnValueModifier and TypeMethodDescriptionCreates an average function call on the given element or expression.static 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.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 aninpredicate.static PredicateCQL.in(CqnValue value, Collection<? extends CqnValue> values) Creates aninpredicate.CqnBuilder.QueryBuilderSupport.in(CqnValue lhs, Collection<? extends CqnValue> values) static CqnListValueCreates aCqnListValuecomposing given valuesstatic <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.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 prefixCreates a sum function call on the given element or expression.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 values -
Uses of CqnValue in com.sap.cds.ql.cqn
Subinterfaces of CqnValue in com.sap.cds.ql.cqnModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceCqnLiteral<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>interfaceinterfaceinterfaceinterfaceinterfaceinterfaceinterfaceCqnTemporalLiteral<E extends Temporal>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.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.CqnArithmeticExpression.left()CqnComparisonPredicate.left()default CqnValuedefault CqnValueModifier.literal(CqnLiteral<?> value) default CqnValueModifier.parameter(CqnParameter param) Override this method to replaceparameters.default CqnValuedefault CqnValueModifier.ref(CqnElementRef ref) CqnArithmeticExpression.right()CqnComparisonPredicate.right()CqnContainmentTest.term()CqnArithmeticNegation.value()CqnContainmentTest.value()default CqnValueCqnElementRef.value()CqnInPredicate.value()The actualCqnValuethat is tested against the values given byCqnInPredicate.valueSet().CqnSelectListValue.value()CqnSortSpecification.value()CqnInPredicate.valueSet()Defines the set of expected values theactual valueis tested against.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()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 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 TypeMethodDescriptionCdsElement.getExpression()Returns the expression that calculates this element.