Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.constructs |
The constructs package builds on top of the core ehcache classes to create
implementations for common caching patterns.
|
net.sf.ehcache.constructs.classloader |
ClassLoader contstructs package
|
net.sf.ehcache.search |
This package contains classes for ehcache core search API.
|
net.sf.ehcache.search.aggregator |
This package contains classes for search aggregator functionality.
|
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.
|
net.sf.ehcache.transaction |
This package contains classes for controlling cache operations for transactional use.
|
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
Ehcache.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
<T> Attribute<T> |
Cache.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
Ehcache.getSearchAttributes() |
Set<Attribute> |
Cache.getSearchAttributes() |
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
EhcacheDecoratorAdapter.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
EhcacheDecoratorAdapter.getSearchAttributes() |
Modifier and Type | Method and Description |
---|---|
Attribute |
ClassLoaderAwareCache.getSearchAttribute(String arg0)
Retrieve the given named search attribute
|
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
ClassLoaderAwareCache.getSearchAttributes() |
Modifier and Type | Field and Description |
---|---|
static Attribute |
Query.KEY
The search attribute for a cache element's key.
|
static Attribute |
Query.VALUE
The search attribute for a cache element's value.
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.addGroupBy(Attribute<?>... attribute)
Group result set by unique value(s) of specified attribute(s).
|
Query |
Query.addOrderBy(Attribute<?> attribute,
Direction direction)
Request result set ordering by the given attribute and direction.
|
<T> T |
Result.getAttribute(Attribute<T> attribute)
Retrieve the given attribute value for this cache entry
|
Query |
Query.includeAttribute(Attribute<?>... attributes)
Request that the given attribute(s) should be present in the result for
this query.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
Min.getAttribute()
Get the attribute to pass to aggregator
|
Attribute<?> |
AggregatorInstance.getAttribute()
Get the attribute to pass to aggregator
|
Attribute |
Average.getAttribute()
Get the attribute to pass to aggregator
|
Attribute |
Max.getAttribute()
Get the attribute to pass to aggregator
|
Attribute<?> |
Count.getAttribute()
Get the attribute to pass to aggregator
|
Attribute |
Sum.getAttribute()
Get the attribute to pass to aggregator
|
Modifier and Type | Method and Description |
---|---|
static Aggregator |
Aggregators.average(Attribute<?> attribute)
Construct an average value aggregator
|
static Aggregator |
Aggregators.max(Attribute<?> attribute)
Construct a maximum value aggregator
|
static Aggregator |
Aggregators.min(Attribute<?> attribute)
Construct a minimum value aggregator
|
static Aggregator |
Aggregators.sum(Attribute<?> attribute)
Construct a sum aggregator
|
Constructor and Description |
---|
Average(Attribute<?> attribute) |
Max(Attribute<?> attribute) |
Min(Attribute<?> attribute) |
Sum(Attribute<?> attribute) |
Modifier and Type | Method and Description |
---|---|
Set<Attribute<?>> |
EqualTo.getAttributes() |
Set<Attribute<?>> |
ILike.getAttributes() |
Set<Attribute<?>> |
Not.getAttributes()
Returns all search attributes referenced by this instance
|
Set<Attribute<?>> |
IsNull.getAttributes() |
Set<Attribute<?>> |
And.getAttributes()
Returns all search attributes referenced by this instance
|
Set<Attribute<?>> |
Or.getAttributes()
Returns all search attributes referenced by this instance
|
Set<Attribute<?>> |
NotNull.getAttributes() |
Set<Attribute<?>> |
ComparableValue.getAttributes() |
abstract Set<Attribute<?>> |
BaseCriteria.getAttributes()
Returns all search attributes referenced by this instance
|
Set<Attribute<?>> |
NotILike.getAttributes() |
Set<Attribute<?>> |
InCollection.getAttributes() |
Set<Attribute<?>> |
AlwaysMatch.getAttributes() |
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
SearchManager.getSearchAttributes(String cacheName)
Returns all known search attributes for cache with given name
|
Modifier and Type | Method and Description |
---|---|
<T> T |
BaseResult.getAttribute(Attribute<T> attribute)
Retrieve the given attribute value for this cache entry
|
Modifier and Type | Method and Description |
---|---|
Attribute<?> |
StoreQuery.Ordering.getAttribute()
Attribute to order by
|
<T> Attribute<T> |
Store.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
<T> Attribute<T> |
AbstractStore.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
<T> Attribute<T> |
CacheStore.getSearchAttribute(String attributeName) |
<T> Attribute<T> |
ElementIdAssigningStore.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
Store.getSearchAttributes() |
Set<Attribute> |
AbstractStore.getSearchAttributes() |
Set<Attribute> |
CacheStore.getSearchAttributes() |
Set<Attribute> |
ElementIdAssigningStore.getSearchAttributes() |
Set<Attribute> |
BruteForceSearchManager.getSearchAttributes(String cacheName) |
Set<Attribute<?>> |
StoreQuery.groupByAttributes()
Get the set of attributes to group result set by
|
Set<Attribute<?>> |
StoreQuery.requestedAttributes()
Get the set of attributes requested by this query
|
Modifier and Type | Method and Description |
---|---|
<T> Attribute<T> |
AbstractTransactionStore.getSearchAttribute(String attributeName)
Retrieve the given named search attribute
|
Modifier and Type | Method and Description |
---|---|
Set<Attribute> |
AbstractTransactionStore.getSearchAttributes() |
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.