Uses of Class
org.springframework.data.elasticsearch.core.query.Criteria
Packages that use Criteria
-
Uses of Criteria in org.springframework.data.elasticsearch.core.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 thequeryCriteriaEntries.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 thequeryCriteriaEntries
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 thequeryCriteriaEntries.Add aCriteria.OperationKey.ENDS_WITHentry to thequeryCriteriaEntries
NOTE: mind your schema as leading wildcards may not be supported and/or execution might be slow.Criteria.exists()Add aCriteria.OperationKey.EXISTSentry to thequeryCriteriaEntriesCriteria.expression(String s) Add aCriteria.OperationKey.EXPRESSIONentry to thequeryCriteriaEntriesallowing native elasticsearch expressionsAdd aCriteria.OperationKey.FUZZYentry to thequeryCriteriaEntriesCriteriaQuery.getCriteria()CriteriaQueryBuilder.getCriteria()Criteria.greaterThan(Object lowerBound) Add aCriteria.OperationKey.GREATERentry to thequeryCriteriaEntriesCriteria.greaterThanEqual(Object lowerBound) Add aCriteria.OperationKey.GREATER_EQUALentry to thequeryCriteriaEntriesAdd aCriteria.OperationKey.INentry to thequeryCriteriaEntries.Add aCriteria.OperationKey.INentry to thequeryCriteriaEntries.Criteria.intersects(GeoJson<?> geoShape) Adds a new filter CriteriaEntry for GEO_INTERSECTS.Add aCriteria.OperationKey.EQUALSentry to thequeryCriteriaEntriesCriteria.isDisjoint(GeoJson<?> geoShape) Adds a new filter CriteriaEntry for GEO_IS_DISJOINT.Add aCriteria.OperationKey.LESSentry to thequeryCriteriaEntriesCriteria.lessThanEqual(Object upperBound) Add aCriteria.OperationKey.LESS_EQUALentry to thequeryCriteriaEntriesAdd aCriteria.OperationKey.MATCHESentry to thequeryCriteriaEntries.Criteria.matchesAll(Object value) Add aCriteria.OperationKey.MATCHESentry to thequeryCriteriaEntries.Criteria.not()Sets the negating flagCriteria.notEmpty()Add aCriteria.OperationKey.NOT_EMPTYentry to thequeryCriteriaEntries.Add aCriteria.OperationKey.NOT_INentry to thequeryCriteriaEntries.Add aCriteria.OperationKey.NOT_INentry to thequeryCriteriaEntries.static CriteriaCriteria.or()Chain a new or-CriteriaChain a new or-Criteria.Chain a new or-CriteriaAdd aCriteria.OperationKey.REGEXPentry to thequeryCriteriaEntries.Criteria.startsWith(String s) Add aCriteria.OperationKey.STARTS_WITHentry to thequeryCriteriaEntriesCriteria.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.