Uses of Interface
org.refcodes.criteria.Criteria
Packages that use Criteria
Package
Description
This artifact allows the construction of This artifact allows the
construction of
Criteria instances for
selecting, filtering or identifying (such as the selection of entries from a
database).-
Uses of Criteria in org.refcodes.criteria
Subinterfaces of Criteria in org.refcodes.criteriaModifier and TypeInterfaceDescriptioninterfaceCriteriaLeaf<T>A CriteriaLeaf tree leaf is an expression usually relating to a key (for example identifying a table's column in a database) and a value, both of which consolidating an expression (for example "City = 'Munich'").interfaceA CriteriaNode tree node may represent a logical AND or a logical OR or a logical NOT applied on the node's children Criteria (CriteriaNode instances and CriteriaLeaf instances).Classes in org.refcodes.criteria that implement CriteriaModifier and TypeClassDescriptionclassclassBase class with the baseCriteriaLeaffunctionality provided forCriteriaLeafimplementations.classBase class with the base functionality provided forCriteriaNodeimplementations.classACriteriaNoderepresenting a logical AND operator.classACriteriaLeafrepresenting a EQUAL WITH expression.classACriteriaLeafrepresenting a GREATER OR EQUAL THAN expression.classACriteriaLeafrepresenting a GREATER THAN expression.classACriteriaNoderepresenting a logical INTERSECT operator.classACriteriaLeafrepresenting a LESS OR EQUAL THAN expression.classACriteriaLeafrepresenting a LESS THAN expression.classACriteriaNoderepresenting a logical NOT operator.classACriteriaLeafrepresenting a NOT EQUAL WITH expression.classACriteriaNoderepresenting a logical OR operator.Fields in org.refcodes.criteria with type parameters of type CriteriaMethods in org.refcodes.criteria that return CriteriaModifier and TypeMethodDescriptionstatic <C> CriteriaCriteriaUtility.doRemovePartitionCriteria(Criteria aCriteria, String aKey, Set<C> aPartitions) Removes the criteria for the provided partitions given key.Parsed the given query and constructs aCriteria(tree).Parsed the given query and constructs aCriteria(tree).CriteriaAccessor.getCriteria()CriteriaException.BadCriteriaException.getCriteria()Gets the criteria.default CriteriaCriteriaAccessor.CriteriaProperty.letCriteria(Criteria aCriteria) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCriteria(setter) as ofCriteriaAccessor.CriteriaMutator.setCriteria(Criteria)and returns the very same value (getter).Methods in org.refcodes.criteria that return types with arguments of type CriteriaModifier and TypeMethodDescriptionAbstractCriteriaNode.getChildren()Returns the list of childCriteriainstances contained in theCriteriaNode.CriteriaNode.getChildren()Returns the list of childCriteriainstances contained in theCriteriaNode.Methods in org.refcodes.criteria with parameters of type CriteriaModifier and TypeMethodDescriptionvoidAdds a childCriteriato theCriteriaNode.voidAdds a childCriteriato theCriteriaNode.voidAdds a childCriteriato theCriteriaNode.static AndCriteriaCreates an ANDCriteriaNodecontaining the providedCriteriachildren.static <C> CriteriaCriteriaUtility.doRemovePartitionCriteria(Criteria aCriteria, String aKey, Set<C> aPartitions) Removes the criteria for the provided partitions given key.ExpressionQueryFactory.fromCriteria(Criteria aCriteria) Generates a query from the providedCriteria(tree).PartitionQueryFactory.fromCriteria(Criteria aCriteria, PS aPartionSelector) Generates a query from the providedCriteria(tree) similar to theQueryFactory.fromCriteria(Criteria)method, though providing support for targeting a dedicated partition in a (database) cluster.QueryFactory.fromCriteria(Criteria aCriteria) Generates a query from the providedCriteria(tree).static <P> Set<P>CriteriaUtility.getPartitions(Criteria aCriteria, String aKey, Class<P> aType) Tries to determine the partitions specified by the given key and type being addressed by the query represented by the given criteria.static IntersectWithCriteriaCriteriaSugar.intersectWith(Criteria... aChildren) Creates an INTERSECTCriteriaNodecontaining the providedCriteriachildren.default CriteriaCriteriaAccessor.CriteriaProperty.letCriteria(Criteria aCriteria) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCriteria(setter) as ofCriteriaAccessor.CriteriaMutator.setCriteria(Criteria)and returns the very same value (getter).static NotCriteriaCreates a NOTCriteriaNodecontaining the providedCriteriachild.static OrCriteriaCreates an ORCriteriaNodecontaining the providedCriteriachildren.voidvoidCriteriaAccessor.CriteriaMutator.setCriteria(Criteria aCriteria) Constructors in org.refcodes.criteria with parameters of type CriteriaModifierConstructorDescriptionAbstractCriteriaNode(String aAlias, Criteria... aChildren) Constructs aCriteriaNodewith the given name and the providedCriteriachildren.AndCriteria(Criteria... aChildren) BadCriteriaException(Criteria aCriteria, String message) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, String aMessage, String aErrorCode) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, String message, Throwable cause) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, Throwable cause) Instantiates a new criteria criteria exception.BadCriteriaException(Criteria aCriteria, Throwable aCause, String aErrorCode) Instantiates a new criteria criteria exception.ComplexCriteriaException(Criteria aCriteria, String message) Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, String aMessage, String aErrorCode) Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, String message, Throwable cause) Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, Throwable cause) Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, Throwable aCause, String aErrorCode) Instantiates a new complex criteria exception.IntersectWithCriteria(Criteria... aChildren) NotCriteria(Criteria aChild) OrCriteria(Criteria... aChildren) UnknownCriteriaRuntimeException(Criteria aCriteria, String message) Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, String aMessage, String aErrorCode) Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, String message, Throwable cause) Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, Throwable cause) Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, Throwable aCause, String aErrorCode) Instantiates a new unknown criteria runtime exception.Constructor parameters in org.refcodes.criteria with type arguments of type CriteriaModifierConstructorDescriptionAbstractCriteriaNode(String aAlias, List<Criteria> aChildren) Constructs aCriteriaNodewith the given name and the backing(!)