Uses of Interface
io.john.amiscaray.quak.data.query.QueryCriteria
Packages that use QueryCriteria
Package
Description
-
Uses of QueryCriteria in io.john.amiscaray.quak.data
Methods in io.john.amiscaray.quak.data with parameters of type QueryCriteriaModifier and TypeMethodDescription<T> voidDatabaseProxy.deleteAllWhere(Class<T> entityType, QueryCriteria criteria) Deletes all entities from the database matching a given query.<T> List<T> DatabaseProxy.queryAllWhere(Class<T> entityType, QueryCriteria criteria) Retrieves all entities of a given type from the database which match a given query.final <T,F> void DatabaseProxy.updateAllWhereAndApply(Class<T> entityType, QueryCriteria queryCriteria, FieldUpdate<F> fieldUpdate) Updates all entities from the database matching some update criteria.<T,V> void DatabaseProxy.updateAllWhereAndSetTo(Class<T> entityType, String fieldToUpdate, QueryCriteria updateCriteria, V newValue) Updates entities based on a given criteria to a new value. -
Uses of QueryCriteria in io.john.amiscaray.quak.data.query
Classes in io.john.amiscaray.quak.data.query that implement QueryCriteriaModifier and TypeClassDescriptionclassBase class for classes implementingQueryCriteriaclassTests that the value of a field equals to some valueclassTests that the value of a field is equal to one of the values in a set of valuesMethods in io.john.amiscaray.quak.data.query that return QueryCriteriaModifier and TypeMethodDescriptiondefault QueryCriteriaQueryCriteria.and(QueryCriteria queryCriteria) ANDs this query with another one.default QueryCriteriaQueryCriteria.or(QueryCriteria queryCriteria) ORs this query with another one.QueryCriteriaProvider.provideQueryCriteria(String fieldName) Builds the query criteriastatic QueryCriteriaQueryCriteria.valueOfField(String fieldName, QueryCriteriaProvider queryCriteriaProvider) Creates a query criteria testing that the value of a field matches some condition provided by a query criteria provider.Methods in io.john.amiscaray.quak.data.query that return types with arguments of type QueryCriteriaModifier and TypeMethodDescriptionDatabaseQuery.criteria()Returns the value of thecriteriarecord component.Methods in io.john.amiscaray.quak.data.query with parameters of type QueryCriteriaModifier and TypeMethodDescriptiondefault QueryCriteriaQueryCriteria.and(QueryCriteria queryCriteria) ANDs this query with another one.default QueryCriteriaQueryCriteria.or(QueryCriteria queryCriteria) ORs this query with another one.DatabaseQuery.DatabaseQueryBuilder.withCriteria(QueryCriteria criteria) Method parameters in io.john.amiscaray.quak.data.query with type arguments of type QueryCriteriaModifier and TypeMethodDescriptionDatabaseQuery.DatabaseQueryBuilder.withCriteria(Collection<? extends QueryCriteria> criteria) Constructor parameters in io.john.amiscaray.quak.data.query with type arguments of type QueryCriteriaModifierConstructorDescriptionDatabaseQuery(List<QueryCriteria> criteria) Creates an instance of aDatabaseQueryrecord class. -
Uses of QueryCriteria in io.john.amiscaray.quak.data.query.numeric
Classes in io.john.amiscaray.quak.data.query.numeric that implement QueryCriteriaModifier and TypeClassDescriptionclassA QueryCriteria involving numbersclassA NumericQueryCriteria testing that the value of a field is between a min and a maxclassA NumericQueryCriteria testing that the value of a field is greater than a valueclassA NumericQueryCriteria testing that the value of a field is greater than or equal to a valueclassA NumericQueryCriteria testing that the value of a field is less than a valueclassA NumericQueryCriteria testing that the value of a field is less than or equal to a value -
Uses of QueryCriteria in io.john.amiscaray.quak.data.query.string
Classes in io.john.amiscaray.quak.data.query.string that implement QueryCriteriaModifier and TypeClassDescriptionclassA QueryCriteria involving string fieldsclassA QueryCriteria testing that a string field contains a substringclassA QueryCriteria testing that a string field ends with a suffixclassA QueryCriteria testing that a string field matches a given regex (using SQL syntax)classA QueryCriteria testing that a string field starts with a prefix