Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.search |
This package contains classes for ehcache core search API.
|
net.sf.ehcache.search.expression |
This package contains classes for search expression types
(ie.
|
net.sf.ehcache.search.impl |
This package contains an implementation for Results.
|
net.sf.ehcache.store |
Store package.
|
Modifier and Type | Field and Description |
---|---|
private Criteria |
CacheQuery.StoreQueryImpl.copiedCriteria |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Criteria> |
CacheQuery.criteria |
Modifier and Type | Method and Description |
---|---|
Criteria |
CacheQuery.getCriteria()
Get the search criteria
|
Criteria |
CacheQuery.StoreQueryImpl.getCriteria() |
private Criteria |
CacheQuery.getEffectiveCriteriaCopy() |
Modifier and Type | Method and Description |
---|---|
Query |
CacheQuery.addCriteria(Criteria criteria)
Adds a criteria to the query
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Attribute.between(T min,
T max)
Create a range criteria between the given min/max (inclusive).
|
Criteria |
Attribute.between(T min,
T max,
boolean minInclusive,
boolean maxInclusive)
Create a range criteria between the given min/max with specified inclusiveness
|
Criteria |
Attribute.eq(T value)
Create a criteria where this attribute is equal to the given value
|
Criteria |
Attribute.ge(T value)
Create a criteria where this attribute is greater than or equal to the given value
|
Criteria |
Attribute.gt(T value)
Create a criteria where this attribute is greater than the given value
|
Criteria |
Attribute.ilike(java.lang.String regex)
Create a criteria where this attribute's toString() matches the given expression
See
ILike for the expression syntax |
Criteria |
Attribute.in(java.util.Collection<? extends T> values)
Create a criteria where this attribute is 'in' (ie.
|
Criteria |
Attribute.le(T value)
Create a criteria where this attribute is less than or equal to the given value
|
Criteria |
Attribute.lt(T value)
Create a criteria where this attribute is less than the given value
|
Criteria |
Attribute.ne(T value)
Create a criteria where this attribute is not equal to the given value
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.addCriteria(Criteria criteria)
Adds a criteria to the query
|
Modifier and Type | Class and Description |
---|---|
class |
AlwaysMatch
Criteria that always return true
|
class |
And
A search criteria composed of the logical "and" of two or more other criteria
|
class |
BaseCriteria
Base class for all criteria types
|
class |
Between
Range criteria
|
class |
ComparableValue
Abstract base class for criteria involving
Comparable values |
class |
EqualTo
A comparison operator meaning Java "equals to" condition
|
class |
GreaterThan
Greater than criteria
|
class |
GreaterThanOrEqual
Greater than or equal criteria
|
class |
ILike
A regular expression criteria that matches attribute string values.
|
class |
InCollection
Criteria for inclusion in a given Collection (presumably a Set) of values
|
class |
LessThan
Less than criteria
|
class |
LessThanOrEqual
Less than or equal criteria
|
class |
Not
A search criteria composed of the logical "not" (ie.
|
class |
NotEqualTo
Criteria for plain "not equals to" condition
|
class |
NotILike
Inverse of
ILike |
class |
Or
A search criteria composed of the logical "or" of two or more other criteria
|
Modifier and Type | Field and Description |
---|---|
private Criteria |
Not.c |
private Criteria[] |
Or.criteria |
private Criteria[] |
And.criterion |
Modifier and Type | Method and Description |
---|---|
Criteria |
BaseCriteria.and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
Criteria |
And.and(Criteria other) |
Criteria |
AlwaysMatch.and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
Criteria |
Criteria.and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
Criteria |
Not.getCriteria() |
Criteria[] |
Or.getCriterion()
Return criteria
|
Criteria[] |
And.getCriterion()
Return criterion
|
Criteria |
BaseCriteria.not()
Produce a criteria that is the boolean "not" of this
|
Criteria |
Criteria.not()
Produce a criteria that is the boolean "not" of this
|
Criteria |
Or.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Criteria |
BaseCriteria.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Criteria |
AlwaysMatch.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Criteria |
Criteria.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Modifier and Type | Method and Description |
---|---|
Criteria |
BaseCriteria.and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
Criteria |
And.and(Criteria other) |
Criteria |
AlwaysMatch.and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
Criteria |
Criteria.and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
Criteria |
Or.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Criteria |
BaseCriteria.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Criteria |
AlwaysMatch.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Criteria |
Criteria.or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
Constructor and Description |
---|
And(And original,
Criteria additional) |
And(Criteria lhs,
Criteria rhs)
Simple constructor for two criteria
|
Not(Criteria c)
Construct a "not" criteria of the given criteria
|
Or(Criteria lhs,
Criteria rhs)
Simple constructor for two criteria
|
Or(Or original,
Criteria additional) |
Modifier and Type | Method and Description |
---|---|
private static Criteria |
BaseQueryInterpreter.notOf(Criteria c) |
Modifier and Type | Method and Description |
---|---|
private static Criteria |
BaseQueryInterpreter.notOf(Criteria c) |
private void |
BaseQueryInterpreter.processCriteria(Criteria criteria) |
Modifier and Type | Method and Description |
---|---|
Criteria |
StoreQuery.getCriteria()
Get the search criteria
|