|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.search.parameters.lucene.sort.JiraLuceneFieldCache
Nested Class Summary | |
(package private) static class |
JiraLuceneFieldCache.Entry
Expert: Every key in the internal cache is of this type. |
Field Summary | |
(package private) Map |
cache
The internal cache. |
static JiraLuceneFieldCache |
FIELD_CACHE
|
Constructor Summary | |
JiraLuceneFieldCache()
|
Method Summary | |
Object[] |
getCustom(org.apache.lucene.index.IndexReader reader,
String field,
MappedSortComparator comparator)
|
Collection[] |
getMatches(org.apache.lucene.index.IndexReader reader,
String field)
Return a BitSet that contains 'true' for every document that |
(package private) Object |
lookup(org.apache.lucene.index.IndexReader reader,
String field,
int type)
See if an object is in the cache. |
(package private) Object |
lookup(org.apache.lucene.index.IndexReader reader,
String field,
Object comparer)
See if a custom object is in the cache. |
(package private) Object |
store(org.apache.lucene.index.IndexReader reader,
String field,
int type,
Object value)
Put an object into the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final JiraLuceneFieldCache FIELD_CACHE
final Map cache
Constructor Detail |
public JiraLuceneFieldCache()
Method Detail |
public Object[] getCustom(org.apache.lucene.index.IndexReader reader, String field, MappedSortComparator comparator) throws IOException
IOException
public Collection[] getMatches(org.apache.lucene.index.IndexReader reader, String field) throws IOException
reader
- field
-
IOException
Object lookup(org.apache.lucene.index.IndexReader reader, String field, Object comparer)
Object lookup(org.apache.lucene.index.IndexReader reader, String field, int type)
Object store(org.apache.lucene.index.IndexReader reader, String field, int type, Object value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |