| Modifier and Type | Class and Description |
|---|---|
| private static class | BruteForceSearchManager.ResultHolder
Concrete search result with relevant inputs to aggregate functions (if any) |
| Modifier and Type | Field and Description |
|---|---|
| private BruteForceSource | |
| private final Ehcache | |
| private static final Object[] | |
| private final Set | searchAttributes
account for all search attributes |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addSearchAttributes(Set<Attribute<?>>
the search attributes to add attributeSet)Add search attributes |
| public void | clear(String
cache name to clear cacheName, int segment of cache segmentId)Implements net. |
| public Results | executeQuery(StoreQuery
query to execute query, Map<String, AttributeExtractor> defined attribute extractors for the cache extractors, DynamicAttributesExtractor dynamic attribute extractor (if any) dynIndexer)Implements net. |
| private Map | getAttributeValues(Set<Attribute<?>> attributes, Map<String, AttributeExtractor> extractors, Element element)
|
| private Map | getCombinedExtractors(Map<String, AttributeExtractor> configExtractors, DynamicAttributesExtractor dynIndexer, Element element)
|
| public Set | getSearchAttributes(String cacheName)
Implements net. |
| private Object[] | |
| public void | put(String
cache name cacheName, int segment of cache segmentId, Element element being added to cache element, byte[] serialized form of the element key key, Map<String, AttributeExtractor> the attribute extractors for the cache extractors, DynamicAttributesExtractor dynamic attribute extractor (if any) dynamicIndexer)Implements net. |
| public void | remove(String
cache name cacheName, Object unique key of element key, int segment of cache segmentId, boolean true if called as a result of actual storage engine removal (as opposed to move), false otherwise isRemoval)Implements net. |
| public void | setBruteForceSource(BruteForceSource
the source bruteForceSource)Sets the BruteForceSource to be used for search |
| private void |
| bruteForceSource | back to summary |
|---|---|
| private BruteForceSource bruteForceSource | |
| cache | back to summary |
|---|---|
| private final Ehcache cache | |
| EMPTY_OBJECT_ARRAY | back to summary |
|---|---|
| private static final Object[] EMPTY_OBJECT_ARRAY | |
| searchAttributes | back to summary |
|---|---|
| private final Set<Attribute<T>> searchAttributes account for all search attributes | |
| BruteForceSearchManager | back to summary |
|---|---|
| public BruteForceSearchManager(Ehcache cache) Create a BruteForceSearchManager | |
| addSearchAttributes | back to summary |
|---|---|
| pack-priv void addSearchAttributes(Set<Attribute<?>> attributeSet) Add search attributes | |
| clear | back to summary |
|---|---|
| public void clear(String cacheName, int segmentId) Implements net. Doc from net. Clear a segment of the given cache | |
| executeQuery | back to summary |
|---|---|
| public Results executeQuery(StoreQuery query, Map<String, AttributeExtractor> extractors, DynamicAttributesExtractor dynIndexer) Implements net. Doc from net. Execute a query against the given cache
| |
| getAttributeValues | back to summary |
|---|---|
| private Map | |
| getCombinedExtractors | back to summary |
|---|---|
| private Map | |
| getSearchAttributes | back to summary |
|---|---|
| public Set Implements net. Doc from net. Returns all known search attributes for cache with given name
| |
| getSortAttributes | back to summary |
|---|---|
| private Object[] getSortAttributes(StoreQuery query, Map<String, AttributeExtractor> extractors, Element element) | |
| put | back to summary |
|---|---|
| public void put(String cacheName, int segmentId, Element element, byte[] key, Map<String, AttributeExtractor> extractors, DynamicAttributesExtractor dynamicIndexer) Implements net. Doc from net. Notify an element added to a segment of a given cache
| |
| remove | back to summary |
|---|---|
| public void remove(String cacheName, Object key, int segmentId, boolean isRemoval) Implements net. Doc from net. Notify an element removed from a segment of a given cache | |
| setBruteForceSource | back to summary |
|---|---|
| public void setBruteForceSource(BruteForceSource bruteForceSource) Sets the BruteForceSource to be used for search
| |
| setResultAggregators | back to summary |
|---|---|
| private void setResultAggregators(List<AggregatorInstance<?>> aggregators, BaseResult result) | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final OrderComparator | |
| private final BaseResult |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(BruteForceSearchManager.
the object to be compared. otherImplements java. |
| aggregatorInputs | back to summary |
|---|---|
| private final List<Object> aggregatorInputs | |
| comp | back to summary |
|---|---|
| private final OrderComparator<BaseResult> comp | |
| result | back to summary |
|---|---|
| private final BaseResult result | |
| ResultHolder | back to summary |
|---|---|
| private ResultHolder(BaseResult res, List<Object> values, OrderComparator<BaseResult> cmp) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(BruteForceSearchManager. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |