Uses of Class
org.springframework.data.elasticsearch.core.query.Criteria
Packages that use Criteria
-
Uses of Criteria in org.springframework.data.elasticsearch.core.query
Subclasses with type arguments of type Criteria in org.springframework.data.elasticsearch.core.queryModifier and TypeClassDescriptionstatic classa list ofCriteriaobjects that belong to one query.Methods in org.springframework.data.elasticsearch.core.query that return CriteriaModifier and TypeMethodDescriptionstatic CriteriaCriteria.and()Chain a new and- CriteriaChain a Criteria to this object.Chain an array of Criteria to this object.Chain a new and-CriteriaAdds a OperationKey.BETWEEN entry to theCriteria.queryCriteriaEntries.Criteria.boost(float boost) Sets the boost factor.Adds a new filter CriteriaEntry for bounding box created from pointsAdds a new filter CriteriaEntry forlocation GeoBox bounding boxAdds a new filter CriteriaEntry for bounding box created from pointsAdds a new filter CriteriaEntry forlocation Box bounding boxAdds a new filter CriteriaEntry for bounding box created from pointsAdd aCriteria.OperationKey.CONTAINSentry to theCriteria.queryCriteriaEntries
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow.Adds a new filter CriteriaEntry for GEO_CONTAINS.Criteria.empty()Add aCriteria.OperationKey.EMPTYentry to theCriteria.queryCriteriaEntries.Add aCriteria.OperationKey.ENDS_WITHentry to theCriteria.queryCriteriaEntries
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow.Criteria.exists()Add aCriteria.OperationKey.EXISTSentry to theCriteria.queryCriteriaEntriesCriteria.expression(String s) Add aCriteria.OperationKey.EXPRESSIONentry to theCriteria.queryCriteriaEntriesallowing native elasticsearch expressionsAdd aCriteria.OperationKey.FUZZYentry to theCriteria.queryCriteriaEntriesCriteriaQuery.getCriteria()CriteriaQueryBuilder.getCriteria()Criteria.greaterThan(Object lowerBound) Add aCriteria.OperationKey.GREATERentry to theCriteria.queryCriteriaEntriesCriteria.greaterThanEqual(Object lowerBound) Add aCriteria.OperationKey.GREATER_EQUALentry to theCriteria.queryCriteriaEntriesCriteria.hasChild(HasChildQuery query) Adds a new filter CriteriaEntry for HAS_CHILD.Criteria.hasParent(HasParentQuery query) Adds a new filter CriteriaEntry for HAS_PARENT.Add aCriteria.OperationKey.INentry to theCriteria.queryCriteriaEntries.Add aCriteria.OperationKey.INentry to theCriteria.queryCriteriaEntries.Criteria.intersects(GeoJson<?> geoShape) Adds a new filter CriteriaEntry for GEO_INTERSECTS.Add aCriteria.OperationKey.EQUALSentry to theCriteria.queryCriteriaEntriesCriteria.isDisjoint(GeoJson<?> geoShape) Adds a new filter CriteriaEntry for GEO_IS_DISJOINT.Add aCriteria.OperationKey.LESSentry to theCriteria.queryCriteriaEntriesCriteria.lessThanEqual(Object upperBound) Add aCriteria.OperationKey.LESS_EQUALentry to theCriteria.queryCriteriaEntriesAdd aCriteria.OperationKey.MATCHESentry to theCriteria.queryCriteriaEntries.Criteria.matchesAll(Object value) Add aCriteria.OperationKey.MATCHESentry to theCriteria.queryCriteriaEntries.Criteria.not()Sets the negating flagCriteria.notEmpty()Add aCriteria.OperationKey.NOT_EMPTYentry to theCriteria.queryCriteriaEntries.Add aCriteria.OperationKey.NOT_INentry to theCriteria.queryCriteriaEntries.Add aCriteria.OperationKey.NOT_INentry to theCriteria.queryCriteriaEntries.static CriteriaCriteria.or()Chain a new or-CriteriaChain a new or-Criteria.Chain a new or-CriteriaAdd aCriteria.OperationKey.REGEXPentry to theCriteria.queryCriteriaEntries.Criteria.startsWith(String s) Add aCriteria.OperationKey.STARTS_WITHentry to theCriteria.queryCriteriaEntriesCriteria.subCriteria(Criteria criteria) adds a Criteria as subCriteriastatic CriteriaStatic factory method to create a new Criteria for field with given namestatic CriteriaStatic factory method to create a new Criteria for provided fieldAdds a new filter CriteriaEntry forgeoLocation WITHIN distanceAdds a new filter CriteriaEntry for GEO_WITHIN.Adds a new filter CriteriaEntry forlocation WITHIN distanceAdds a new filter CriteriaEntry forlocation WITHIN distanceMethods in org.springframework.data.elasticsearch.core.query that return types with arguments of type CriteriaMethods in org.springframework.data.elasticsearch.core.query with parameters of type CriteriaModifier and TypeMethodDescriptionfinal <T extends CriteriaQuery>
TCriteriaQuery.addCriteria(Criteria criteria) Chain a Criteria to this object.Chain an array of Criteria to this object.static CriteriaQueryBuilderChain a new or-Criteria.Criteria.subCriteria(Criteria criteria) adds a Criteria as subCriteriaConstructors in org.springframework.data.elasticsearch.core.query with parameters of type CriteriaModifierConstructorDescriptionCriteriaQuery(Criteria criteria) CriteriaQuery(Criteria criteria, Pageable pageable) CriteriaQueryBuilder(Criteria criteria) Constructor parameters in org.springframework.data.elasticsearch.core.query with type arguments of type CriteriaModifierConstructorDescriptionprotectedCreates a Criteria for the given field, sets it's criteriaChain to the given value and adds itself to the end of the chain.protectedCreates a Criteria for the given field, sets it's criteriaChain to the given value and adds itself to the end of the chain.