Package | Description |
---|---|
net.sf.ehcache.config |
This package contains the cache configuration code.
|
net.sf.ehcache.search.attribute |
This package contains classes for ehcache search attributes
|
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 |
---|---|
AttributeExtractor |
SearchAttribute.constructExtractor(ClassLoader loader)
Construct the extractor for this attribute configuration
|
Modifier and Type | Class and Description |
---|---|
class |
JavaBeanAttributeExtractor
Extracts a search attribute determining the value as a javabean property on either
the key or the value.
|
class |
KeyObjectAttributeExtractor
Attempt to use the element key object itself as a search attribute.
|
class |
ReflectionAttributeExtractor
Built-in search attribute extractor driven by method/value dotted expression
chains.
The expression chain must start with one of either "key", "value", or "element". |
class |
ValueObjectAttributeExtractor
Attempt to use the element value object itself as a search attribute.
|
Modifier and Type | Method and Description |
---|---|
static AttributeExtractor |
BaseCriteria.getExtractor(String attrName,
Map<String,AttributeExtractor> knownExtractors)
For given attribute name, return its corresponding extractors from supplied map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EqualTo.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
NotEqualTo.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
Criteria.execute(Element element,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
ILike.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
Not.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
IsNull.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors) |
boolean |
And.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
Or.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
NotNull.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors) |
boolean |
ComparableValue.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
NotILike.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors) |
boolean |
InCollection.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
boolean |
AlwaysMatch.execute(Element e,
Map<String,AttributeExtractor> attributeExtractors)
Test this criteria against a cache element
|
static AttributeExtractor |
BaseCriteria.getExtractor(String attrName,
Map<String,AttributeExtractor> knownExtractors)
For given attribute name, return its corresponding extractors from supplied map.
|
Modifier and Type | Method and Description |
---|---|
Results |
SearchManager.executeQuery(StoreQuery query,
Map<String,AttributeExtractor> attributeExtractors,
DynamicAttributesExtractor dynamicIndexer)
Execute a query against the given cache
|
void |
SearchManager.put(String cacheName,
int segmentId,
Element element,
byte[] serializedKey,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer)
Notify an element added to a segment of a given cache
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,AttributeExtractor> |
AbstractStore.attributeExtractors
search attribute extractors
|
Modifier and Type | Method and Description |
---|---|
Results |
BruteForceSearchManager.executeQuery(StoreQuery query,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynIndexer) |
void |
BruteForceSearchManager.put(String cacheName,
int segmentId,
Element element,
byte[] key,
Map<String,AttributeExtractor> extractors,
DynamicAttributesExtractor dynamicIndexer) |
void |
Store.setAttributeExtractors(Map<String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
AbstractStore.setAttributeExtractors(Map<String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
void |
MemoryStore.setAttributeExtractors(Map<String,AttributeExtractor> extractors) |
void |
CacheStore.setAttributeExtractors(Map<String,AttributeExtractor> extractors) |
void |
ElementIdAssigningStore.setAttributeExtractors(Map<String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTransactionStore.setAttributeExtractors(Map<String,AttributeExtractor> extractors)
Inform this store of the configured attribute extractors.
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.