public class Criteria extends Object implements CriteriaDefinition
CriteriaDefinition.AerospikeMapCriteria| Modifier and Type | Method and Description |
|---|---|
Criteria |
and(String key)
Static factory method to create a Criteria using the provided key
|
Criteria |
between(Object o1,
Object o2,
String propertyName) |
Criteria |
containing(Object o,
String propertyName,
Part.IgnoreCaseType ignoreCase) |
Criteria |
geo_within(Object lng,
Object lat,
Object radius,
String propertyName)
GEO Query with distance from a geo location given longitude/latitude
|
List<Criteria> |
getCriteriaChain() |
com.aerospike.helper.query.Qualifier |
getCriteriaObject()
Get
Filter representation. |
String |
getKey()
Get the identifying key.
|
Criteria |
gt(Object o,
String propertyName) |
Criteria |
gte(Object o,
String propertyName) |
Criteria |
in(Object next) |
Criteria |
is(Object o,
String propertyName) |
Criteria |
lt(Object o,
String propertyName) |
Criteria |
lte(Object o,
String propertyName) |
Criteria |
ne(Object object) |
Criteria |
nin(Object nextAsArray) |
Criteria |
orOperator(Criteria... criteria)
Creates an 'or' criteria using the $or operator for all of the provided criteria
|
Criteria |
startingWith(Object o,
String propertyName,
Part.IgnoreCaseType ignoreCase) |
static Criteria |
where(String key)
Static factory method to create a Criteria using the provided key
|
public Criteria(String key)
public Criteria()
public com.aerospike.helper.query.Qualifier getCriteriaObject()
CriteriaDefinitionFilter representation.getCriteriaObject in interface CriteriaDefinitionpublic String getKey()
CriteriaDefinitiongetKey in interface CriteriaDefinitionpublic static Criteria where(String key)
key - public Criteria and(String key)
public Criteria orOperator(Criteria... criteria)
criteria - IllegalArgumentException - if orOperator(Criteria...) follows a not() call directly.public Criteria between(Object o1, Object o2, String propertyName)
next - next2 - part - criteria2 - public Criteria startingWith(Object o, String propertyName, Part.IgnoreCaseType ignoreCase)
next - part - criteria2 - public Criteria containing(Object o, String propertyName, Part.IgnoreCaseType ignoreCase)
next - part - criteria2 - Copyright © 2012–2020 Aerospike, Inc. All rights reserved.