Uses of Interface
org.refcodes.criteria.Criteria
-
Packages that use Criteria Package Description org.refcodes.criteria The refcodes-criteria framework allows the construction of criteria for selecting or filtering or identifying issues (such issues could be the selection of entries from a database). -
-
Uses of Criteria in org.refcodes.criteria
Subinterfaces of Criteria in org.refcodes.criteria Modifier and Type Interface Description interfaceAndCriteriaACriteriaNoderepresenting a logical AND operator.interfaceCriteriaLeaf<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'").interfaceCriteriaNodeA 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).interfaceEqualWithCriteria<T>ACriteriaLeafrepresenting a EQUAL WITH expression.interfaceGreaterOrEqualThanCriteria<T>ACriteriaLeafrepresenting a GREATER OR EQUAL THAN expression.interfaceGreaterThanCriteria<T>ACriteriaLeafrepresenting a GREATER THAN expression.interfaceIntersectWithCriteriaACriteriaNoderepresenting a logical INTERSECT operator.interfaceLessOrEqualThanCriteria<T>ACriteriaLeafrepresenting a LESS OR EQUAL THAN expression.interfaceLessThanCriteria<T>ACriteriaLeafrepresenting a LESS THAN expression.interfaceNotCriteriaACriteriaNoderepresenting a logical NOT operator.interfaceNotEqualWithCriteria<T>ACriteriaLeafrepresenting a NOT EQUAL WITH expression.interfaceOrCriteriaACriteriaNoderepresenting a logical OR operator.interfaceSingleCriteriaNodeA special specialization of theCriteriaNode, allowing just one child.Classes in org.refcodes.criteria that implement Criteria Modifier and Type Class Description classAbstractCriteriaclassAbstractCriteriaLeaf<T>Base class with the baseCriteriaLeaffunctionality provided forCriteriaLeafimplementations.classAbstractCriteriaNodeBase class with the baseCriteriaNodefunctionality provided forCriteriaNodeimplementations.classAbstractSingleCriteriaNodeBase class with the baseSingleCriteriaNodefunctionality provided forSingleCriteriaNodeimplementations.Methods in org.refcodes.criteria that return Criteria Modifier and Type Method Description static <C> CriteriaCriteriaUtility. doRemovePartitionCriteria(Criteria aCriteria, java.lang.String aKey, java.util.Set<C> aPartitions)Removes the criteria for the provided partitions given key.CriteriaCriteriaFactory. fromQuery(Q aQuery)Parsed the given query and constructs aCriteria(tree).CriteriaExpressionCriteriaFactoryImpl. fromQuery(java.lang.String aQuery)Parsed the given query and constructs aCriteria(tree).CriteriaAbstractSingleCriteriaNode. getChild()Returns the single childCriteriabeing stored in thisCriteriaNode.CriteriaSingleCriteriaNode. getChild()Returns the single childCriteriabeing stored in thisCriteriaNode.CriteriaCriteriaAccessor. getCriteria()Methods in org.refcodes.criteria that return types with arguments of type Criteria Modifier and Type Method Description java.util.List<Criteria>AbstractCriteriaNode. getChildren()Returns the list of childCriteriainstances contained in theCriteriaNode.java.util.List<Criteria>AbstractSingleCriteriaNode. getChildren()Returns the list of childCriteriainstances contained in theCriteriaNode.java.util.List<Criteria>CriteriaNode. getChildren()Returns the list of childCriteriainstances contained in theCriteriaNode.Methods in org.refcodes.criteria with parameters of type Criteria Modifier and Type Method Description voidAbstractCriteriaNode. addChild(Criteria aChild)Adds a childCriteriato theCriteriaNode.voidAbstractSingleCriteriaNode. addChild(Criteria aCriteria)Adds a childCriteriato theCriteriaNode.voidCriteriaNode. addChild(Criteria aChild)Adds a childCriteriato theCriteriaNode.static AndCriteriaCriteriaSugar. and(Criteria... aChildren)Creates an ANDCriteriaNodecontaining the providedCriteriachildren.static <C> CriteriaCriteriaUtility. doRemovePartitionCriteria(Criteria aCriteria, java.lang.String aKey, java.util.Set<C> aPartitions)Removes the criteria for the provided partitions given key.java.lang.StringExpressionQueryFactoryImpl. fromCriteria(Criteria aCriteria)Generates a query from the providedCriteria(tree).QPartitionQueryFactory. 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.QQueryFactory. fromCriteria(Criteria aCriteria)Generates a query from the providedCriteria(tree).static <P> java.util.Set<P>CriteriaUtility. getPartitions(Criteria aCriteria, java.lang.String aKey, java.lang.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.static NotCriteriaCriteriaSugar. not(Criteria aCriteria)Creates a NOTCriteriaNodecontaining the providedCriteriachild.static OrCriteriaCriteriaSugar. or(Criteria... aChildren)Creates an ORCriteriaNodecontaining the providedCriteriachildren.voidAbstractSingleCriteriaNode. setChild(Criteria aChild)Sets the single childCriteriato be stored in thisCriteriaNode.voidSingleCriteriaNode. setChild(Criteria aCriteria)Sets the single childCriteriato be stored in thisCriteriaNode.voidCriteriaAccessor.CriteriaMutator. setCriteria(Criteria aCriteria)Constructors in org.refcodes.criteria with parameters of type Criteria Constructor Description AbstractCriteriaNode(java.lang.String aName, Criteria... aChildren)Constructs aCriteriaNodewith the given name and the providedCriteriachildren.AbstractSingleCriteriaNode(java.lang.String aName, Criteria aChild)Constructs aSingleCriteriaNodewith the given name and the providedCriteriachild.ComplexCriteriaException(Criteria aCriteria, java.lang.String message)Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, java.lang.String message, java.lang.Throwable cause)Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, java.lang.Throwable cause)Instantiates a new complex criteria exception.ComplexCriteriaException(Criteria aCriteria, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new complex criteria exception.UnknownCriteriaRuntimeException(Criteria aCriteria, java.lang.String message)Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, java.lang.String message, java.lang.Throwable cause)Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, java.lang.Throwable cause)Instantiates a new unknown criteria runtime exception.UnknownCriteriaRuntimeException(Criteria aCriteria, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new unknown criteria runtime exception.
-