Class Criteria
java.lang.Object
org.springframework.data.aerospike.repository.query.Criteria
- All Implemented Interfaces:
CriteriaDefinition
public class Criteria extends Object implements CriteriaDefinition
- Author:
- Peter Milne, Jean Mercier
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.aerospike.repository.query.CriteriaDefinition
CriteriaDefinition.AerospikeMapCriteria -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Criteriaand(String key)Criteriabetween(Object o1, Object o2, String propertyName)Criteriacontaining(Object o, String propertyName, Part.IgnoreCaseType ignoreCase)Criteriageo_within(Object lng, Object lat, Object radius, String propertyName)GEO Query with distance from a geo location given longitude/latitudeList<Criteria>getCriteriaChain()QualifiergetCriteriaObject()GetFilterrepresentation.StringgetKey()Get the identifying key.Criteriagt(Object o, String propertyName)Criteriagte(Object o, String propertyName)Criteriain(Object next)Criteriais(Object o, String propertyName)Criterialt(Object o, String propertyName)Criterialte(Object o, String propertyName)Criteriane(Object object)Criterianin(Object nextAsArray)CriteriaorOperator(Criteria... criteria)Creates an 'or' criteria using the $or operator for all of the provided criteriaCriteriastartingWith(Object o, String propertyName, Part.IgnoreCaseType ignoreCase)static Criteriawhere(String key)Static factory method to create a Criteria using the provided key.
-
Constructor Details
-
Criteria
-
Criteria
public Criteria()
-
-
Method Details
-
getCriteriaObject
Description copied from interface:CriteriaDefinitionGetFilterrepresentation.- Specified by:
getCriteriaObjectin interfaceCriteriaDefinition
-
getKey
Description copied from interface:CriteriaDefinitionGet the identifying key.- Specified by:
getKeyin interfaceCriteriaDefinition
-
where
Static factory method to create a Criteria using the provided key.- Parameters:
key- the provided key- Returns:
- the Criteria instance
-
and
-
gt
-
gte
-
lt
-
lte
-
ne
-
nin
-
in
-
orOperator
Creates an 'or' criteria using the $or operator for all of the provided criteria -
getCriteriaChain
- Returns:
- the criteriaChain
-
is
-
between
-
startingWith
-
containing
-
geo_within
GEO Query with distance from a geo location given longitude/latitude
-