Package | Description |
---|---|
net.sf.ehcache.management.sampled |
This package contains classes related to MBeans with Sampled Statistics.
|
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.attribute |
This package contains classes for ehcache search attributes
|
net.sf.ehcache.search.impl |
This package contains an implementation for Results.
|
net.sf.ehcache.store |
Store package.
|
Modifier and Type | Method and Description |
---|---|
Object[][] |
CacheManagerSamplerImpl.executeQuery(String queryString) |
Modifier and Type | Method and Description |
---|---|
List<Result> |
Results.all()
List containing all of the search results.
|
List<Result> |
NullResults.all()
List containing all of the search results.
|
Results |
Query.execute()
Execute this query.
|
Results |
Query.execute(ExecutionHints hints)
Like
Query.execute() , but with specified execution parameters. |
List<Object> |
Result.getAggregatorResults()
Retrieve the aggregator value(s)
|
<T> T |
Result.getAttribute(Attribute<T> attribute)
Retrieve the given attribute value for this cache entry
|
Object |
Result.getKey()
Return the key for this cache entry.
|
Object |
Result.getValue()
Return the value for this cache entry.
|
Query |
Query.includeAggregator(Aggregator... aggregators)
Request this query to aggregate the results by the given Aggregator(s)
This method may be called multiple times to request multiple aggregations
|
List<Result> |
Results.range(int start,
int count)
Retrieve a subset of the cache results.
|
List<Result> |
NullResults.range(int start,
int count)
Retrieve a subset of the cache results.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregatorException
Thrown if an Aggregator cannot complete.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeExtractorException
An exception to indicate that an attribute extractor was unable to be processed.
|
class |
UnknownAttributeException
Thrown at query execution time if query referenced an unknown search attribute
|
Modifier and Type | Method and Description |
---|---|
static AttributeType |
AttributeType.typeFor(String name,
Object value)
Get the appropriate @{link
AttributeType enum for the given object value. |
abstract void |
AttributeType.validateValue(String name,
Object value)
Validate that the given value is in fact of the correct type
|
Modifier and Type | Method and Description |
---|---|
List<Result> |
ResultsImpl.all()
List containing all of the search results.
|
List<Object> |
BaseResult.getAggregatorResults()
Retrieve the aggregator value(s)
|
static Map<String,? extends Object> |
DynamicSearchChecker.getSearchAttributes(Element e,
Set<String> reservedAttrs,
DynamicAttributesExtractor extractor)
Extracts dynamically indexed search attributes from cache element using provided extractor,
validating against reserved set of attribute names (provided by Ehcache search config)
|
Object |
BaseResult.getValue()
Return the value for this cache entry.
|
List<Result> |
ResultsImpl.range(int start,
int length)
Retrieve a subset of the cache results.
|
Modifier and Type | Method and Description |
---|---|
Results |
Store.executeQuery(StoreQuery query)
Execute the given query on this store
|
Results |
CacheStore.executeQuery(StoreQuery query) |
Results |
ElementIdAssigningStore.executeQuery(StoreQuery query)
Execute the given query on this store
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.