Uses of Interface
com.sap.cds.ql.cqn.CqnPredicate
Packages that use CqnPredicate
Package
Description
-
Uses of CqnPredicate in com.sap.cds.ql
Subinterfaces of CqnPredicate in com.sap.cds.qlModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceMethods in com.sap.cds.ql that return types with arguments of type CqnPredicateModifier and TypeMethodDescriptionstatic Collector<CqnPredicate,?, CqnPredicate> CQL.withAnd()Returns aCollectorthat connects the input predicates with AND.static Collector<CqnPredicate,?, CqnPredicate> CQL.withAnd()Returns aCollectorthat connects the input predicates with AND.CqnBuilder.QueryBuilderSupport.withAnd()CqnBuilder.QueryBuilderSupport.withAnd()static Collector<CqnPredicate,?, CqnPredicate> CQL.withOr()Returns aCollectorthat connects the input predicates with OR.static Collector<CqnPredicate,?, CqnPredicate> CQL.withOr()Returns aCollectorthat connects the input predicates with OR.CqnBuilder.QueryBuilderSupport.withOr()CqnBuilder.QueryBuilderSupport.withOr()Methods in com.sap.cds.ql with parameters of type CqnPredicateModifier and TypeMethodDescriptionStructuredType.allMatch(CqnPredicate p) Creates a predicate that tests whether all elements of the entity set referenced by this structured type match a given condition.static PredicateCQL.and(CqnPredicate p1, CqnPredicate p2) Creates a conjunction of two given predicatesPredicate.and(CqnPredicate other, CqnPredicate... more) Creates a conjunction of this predicate with other predicatesStructuredType.anyMatch(CqnPredicate p) Creates a predicate that tests whether any instance of the entity set referenced by this structured type matches a given condition.static PredicateCQL.copy(CqnPredicate pred) Creates a copy of the given predicate.static PredicateCQL.copy(CqnPredicate pred, Modifier modifier) Creates a modified copy of the given predicate.CqnBuilder.copy(CqnPredicate pred) CqnBuilder.copy(CqnPredicate pred, Modifier modifier) RefBuilder.RefSegment.filter(CqnPredicate filter) Sets the filter of this segment.StructuredType.filter(CqnPredicate p) Select.having(CqnPredicate pred) Sets the having clause of the select statement.static PredicateCQL.match(CqnStructuredTypeRef ref, CqnPredicate pred, CqnMatchPredicate.Quantifier quantifier) Creates a match predicate that tests if a given ref matches a given filterCqnBuilder.QueryBuilderSupport.match(CqnStructuredTypeRef ref, CqnPredicate pred, CqnMatchPredicate.Quantifier quantifier) static PredicateCQL.not(CqnPredicate predicate) Negates a givenCqnPredicate.CqnBuilder.QueryBuilderSupport.not(CqnPredicate p) static PredicateCQL.or(CqnPredicate p1, CqnPredicate p2) Creates a disjunction of two given predicatesPredicate.or(CqnPredicate other, CqnPredicate... more) Creates a disjunction of this predicate with other predicatesstatic CqnReference.SegmentCQL.refSegment(String id, CqnPredicate filter) Creates a segment of a structured type or element reference with a filter condition.CqnBuilder.QueryBuilderSupport.refSegment(String id, CqnPredicate filter) Select.search(CqnPredicate pred) Adds a search filter to this select statement, requiring that any searchable element of the target entity set matches the given search predicate.static WhenCQL.when(CqnPredicate pred) Starts a chain of when-then expressions.CqnBuilder.QueryBuilderSupport.when(CqnPredicate when) StructuredType.when(CqnPredicate pred) Starts a chain of when-then expressions.Then.when(CqnPredicate pred) Connects a nextcase) to a chain of when-then expressions.Delete.where(CqnPredicate predicate) Sets the where condition of this delete statement.FilterableStatement.where(CqnPredicate predicate) Sets the where condition of this filterable statement to a given predicate.Select.where(CqnPredicate pred) Sets the where condition of this select statement to a given predicate.Update.where(CqnPredicate predicate) Sets the where condition of this update statement to a given predicate.Method parameters in com.sap.cds.ql with type arguments of type CqnPredicateModifier and TypeMethodDescriptionStructuredType.allMatch(Function<T, CqnPredicate> p) Creates a predicate that tests whether all elements of the entity set referenced by this structured type match a given condition.static PredicateCQL.and(Iterable<? extends CqnPredicate> predicates) Creates a conjunction of given predicatesStructuredType.anyMatch(Function<T, CqnPredicate> p) Creates a predicate that tests whether any instance of the entity set referenced by this structured type matches a given condition.static PredicateCQL.connect(CqnConnectivePredicate.Operator operator, Iterable<? extends CqnPredicate> predicates) Creates a logical connection of given predicatesCqnPredicate.CqnBuilder.QueryBuilderSupport.connect(CqnConnectivePredicate.Operator operator, Iterable<? extends CqnPredicate> predicates) StructuredType.filter(Function<T, CqnPredicate> p) Select.having(Function<T, CqnPredicate> pred) Sets the having clause of the select statement.static PredicateCQL.or(Iterable<? extends CqnPredicate> predicates) Creates a disjunction of given predicatesDelete.where(Function<T, CqnPredicate> predicate) Sets the where condition of this delete statement.FilterableStatement.where(Function<T, CqnPredicate> predicate) Sets the where condition of this filterable statement.Select.where(Function<T, CqnPredicate> pred) Sets the where condition of this select statement.Update.where(Function<T, CqnPredicate> predicate) Sets the where condition of this update statement. -
Uses of CqnPredicate in com.sap.cds.ql.cqn
Subinterfaces of CqnPredicate in com.sap.cds.ql.cqnModifier and TypeInterfaceDescriptioninterfaceThebetweenpredicate that tests if theCqnBetweenPredicate.value()is within a closed interval with given bounds ofCqnBetweenPredicate.low()andCqnBetweenPredicate.high().interfaceinterfaceinterfaceinterfacePredicate that tests whether eTag element of an entity matches any valueinterfaceinterfaceinterfaceTheinsubquery predicate tests wether anactual value(n-tuple) is equal to any value (n-tuple) returned by a definedsubquery.interfacePredicate that tests whether any|all elements of an entity set match a given conditioninterfaceinterfaceinterfaceDeprecated, for removal: This API element is subject to removal in a future version.interfaceMethods in com.sap.cds.ql.cqn that return CqnPredicateModifier and TypeMethodDescriptiondefault CqnPredicateCqnExpression.asPredicate()Casts this expression to aCqnPredicate.default CqnPredicateCqnPredicate.asPredicate()default CqnPredicateOverride this method to replace abetweenpredicate that that tests if thisvalueis within a closed interval with given bounds oflowandhigh.default CqnPredicateModifier.booleanFunction(String name, List<Value<?>> args) Override this method to replace a predicatefunctioncall.default CqnPredicateModifier.comparison(Value<?> lhs, CqnComparisonPredicate.Operator op, Value<?> rhs) Override this method to replace acomparisonpredicate.CqnCaseExpression.Case.condition()The conditiondefault CqnPredicateModifier.connective(CqnConnectivePredicate.Operator op, List<Predicate> predicates) Override this method to replace a logicalconnectionpredicate, which connects multiple predicates with the givenoperator.default CqnPredicateModifier.containment(CqnContainmentTest.Position position, CqnValue value, CqnValue term, boolean caseInsensitive) Override this method to replace acontainmenttest predicate.default CqnPredicateModifier.eTag(CqnElementRef ref, CqnListValue values) Override this method to replace aeTagpredicate that checks if an ETag matches any value from the givenvalueslist.default CqnPredicateOverride this method to replace anexistsubquery.default CqnPredicatedefault CqnPredicateModifier.in(CqnInSubquery inSubquery) Override this method to replace anin subquerypredicate that checks if the givenvalueis equal to any value returned by the subquery.default CqnPredicateOverride this method to replace aninpredicate that checks if the givenvalueis equal to any value in thevalueSet.default CqnPredicateModifier.match(CqnMatchPredicate match) Override this method to replace amatchpredicate.default CqnPredicateOverride this method to replace a logicalnegation.default CqnPredicateModifier.passThroughSearch(CqnPassThroughSearchPredicate search) Override this method to replace asearchpredicate.CqnNegation.predicate()default CqnPredicatedefault CqnPredicateDeprecated, for removal: This API element is subject to removal in a future version.useModifier.searchTerm(CqnSearchTermPredicate)insteaddefault CqnPredicateModifier.searchTerm(CqnSearchTermPredicate search) Override this method to replace asearchpredicate.default CqnPredicateOverride this method to set thewhereclause offilterablestatements.Methods in com.sap.cds.ql.cqn that return types with arguments of type CqnPredicateModifier and TypeMethodDescriptionCqnReference.Segment.filter()CqnSelect.having()CqnJoin.on()CqnMatchPredicate.predicate()The condition to test forCqnConnectivePredicate.predicates()CqnSelect.search()CqnFilterableStatement.where()The where clause of the filterable statement as aCqnPredicate.Methods in com.sap.cds.ql.cqn with parameters of type CqnPredicateModifier and TypeMethodDescriptiondefault voidCqnVisitor.visit(CqnPredicate pred) Called for each traversedpredicateunless the more specific methodsCqnVisitor.visit(CqnComparisonPredicate),CqnVisitor.visit(CqnSearchTermPredicate),CqnVisitor.visit(CqnPassThroughSearchPredicate),CqnVisitor.visit(CqnConnectivePredicate),CqnVisitor.visit(CqnInPredicate),CqnVisitor.visit(CqnNegation),CqnVisitor.visit(CqnExistsSubquery),CqnVisitor.visit(CqnMatchPredicate)orCqnVisitor.visit(CqnMatchPredicate)are implemented -
Uses of CqnPredicate in com.sap.cds.ql.cqn.transformation
Methods in com.sap.cds.ql.cqn.transformation that return CqnPredicate -
Uses of CqnPredicate in com.sap.cds.ql.hana
Methods in com.sap.cds.ql.hana that return types with arguments of type CqnPredicateModifier and TypeMethodDescriptionCqnHierarchyGenerator.startWhere()A filter condition that identifies the root nodes of the hierarchy generated by this generatorCqnHierarchySubset.startWhere()Specifies the start nodes as an additional input table or as a filter condition A filter condition that specifies the start nodes of this hierarchy subset functionMethods in com.sap.cds.ql.hana with parameters of type CqnPredicateModifier and TypeMethodDescriptionHierarchy.startWhere(CqnPredicate startWhere) Specifies a filter condition that identifies the root nodes of the hierarchy generated by this generator.HierarchySubset.startWhere(CqnPredicate startWhere) Specifies a filter condition that identifies the start nodes of this hierarchy subset function. -
Uses of CqnPredicate in com.sap.cds.reflect
Methods in com.sap.cds.reflect that return types with arguments of type CqnPredicateModifier and TypeMethodDescriptionCdsAssociationType.onCondition()Returns anOptionalwrapping the on condition of this association. -
Uses of CqnPredicate in com.sap.cds.reflect.overlay
Methods in com.sap.cds.reflect.overlay with parameters of type CqnPredicateModifier and TypeMethodDescriptionCdsAssociationExtender.on(CqnPredicate onCondition) Sets the on-condition for the association.
CqnSearchTermPredicateinstead.