Uses of Interface
com.sap.cds.ql.cqn.CqnPredicate
Packages that use CqnPredicate
-
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.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 TypeInterfaceDescriptioninterfaceinterfaceinterfaceinterfaceinterfaceinterfacePredicate that tests whether any|all elements of an entity set match a given conditioninterfaceinterfaceMethods in com.sap.cds.ql.cqn that return CqnPredicateModifier and TypeMethodDescriptiondefault CqnPredicateCqnExpression.asPredicate()Casts this expression to aCqnPredicate.default CqnPredicateCqnPredicate.asPredicate()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.default 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 CqnPredicateOverride this method to replace anexistsubquery.default CqnPredicatedefault 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.CqnNegation.predicate()default CqnPredicatedefault CqnPredicateOverride 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(CqnSearchPredicate),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.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.