|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.manager.BlurFilterCache
org.apache.blur.manager.DefaultBlurFilterCache
public class DefaultBlurFilterCache
This implementation on BlurFilterCache
does nothing and it is the
default BlurFilterCache
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.blur.manager.BlurFilterCache |
---|
BlurFilterCache.FilterParser |
Constructor Summary | |
---|---|
DefaultBlurFilterCache(BlurConfiguration configuration)
|
Method Summary | |
---|---|
void |
closing(String table,
String shard,
BlurIndex index)
Notifies the cache that the index is closing on this shard server. |
org.apache.lucene.search.Filter |
fetchPostFilter(String table,
String filterStr)
The fetchPostFilter method fetches the cache post-filter (or Row
Filter) before attempting to execute the filter provided by the user. |
org.apache.lucene.search.Filter |
fetchPreFilter(String table,
String filterStr)
The fetchPreFilter method fetches the cache pre-filter (or Record
Filter) before attempting to execute the filter provided by the user. |
void |
opening(String table,
String shard,
BlurIndex index)
Notifies the cache that the index is opening on this shard server. |
org.apache.lucene.search.Filter |
storePostFilter(String table,
String filterStr,
org.apache.lucene.search.Filter filter,
BlurFilterCache.FilterParser filterParser)
The storePreFilter method stores the parsed post Filter (or
Row Filter) for caching, and should return the Filter to be
executed. |
org.apache.lucene.search.Filter |
storePreFilter(String table,
String filterStr,
org.apache.lucene.search.Filter filter,
BlurFilterCache.FilterParser filterParser)
The storePreFilter method stores the parsed pre Filter (or
Record Filter) for caching, and should return the Filter to
be executed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBlurFilterCache(BlurConfiguration configuration)
Method Detail |
---|
public org.apache.lucene.search.Filter fetchPreFilter(String table, String filterStr)
BlurFilterCache
Record
Filter) before attempting to execute the filter provided by the user.
fetchPreFilter
in class BlurFilterCache
table
- the table name.filterStr
- the filter query string, should be used as a key.
Filter
to execute or not is missing.public org.apache.lucene.search.Filter fetchPostFilter(String table, String filterStr)
BlurFilterCache
Row
Filter) before attempting to execute the filter provided by the user.
fetchPostFilter
in class BlurFilterCache
table
- the table name.filterStr
- the filter query string, should be used as a key.
Filter
to execute or not is missing.public org.apache.lucene.search.Filter storePreFilter(String table, String filterStr, org.apache.lucene.search.Filter filter, BlurFilterCache.FilterParser filterParser) throws org.apache.lucene.queryparser.classic.ParseException
BlurFilterCache
Filter
(or
Record
Filter) for caching, and should return the Filter
to
be executed.
storePreFilter
in class BlurFilterCache
table
- the table name.filterStr
- the filter query string, should be used as a key.
Filter
that was parsed by the SuperParser
.
org.apache.lucene.queryparser.classic.ParseException
public org.apache.lucene.search.Filter storePostFilter(String table, String filterStr, org.apache.lucene.search.Filter filter, BlurFilterCache.FilterParser filterParser) throws org.apache.lucene.queryparser.classic.ParseException
BlurFilterCache
Filter
(or
Row
Filter) for caching, and should return the Filter
to be
executed.
storePostFilter
in class BlurFilterCache
table
- the table name.filterStr
- the filter query string, should be used as a key.
Filter
that was parsed by the SuperParser
.
org.apache.lucene.queryparser.classic.ParseException
public void closing(String table, String shard, BlurIndex index)
BlurFilterCache
closing
in class BlurFilterCache
table
- the table name.shard
- the shard name.index
- the BlurIndex
.public void opening(String table, String shard, BlurIndex index)
BlurFilterCache
opening
in class BlurFilterCache
table
- the table name.shard
- the shard name.index
- the BlurIndex
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |