|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CategoryMapper
Class that maps a lucene document id to a particular Category
.
Method Summary | |
---|---|
Category |
getCategory(int docId,
Set<Category> categories)
Returns the Category that this docId belongs to. |
Method Detail |
---|
Category getCategory(int docId, Set<Category> categories)
Category
that this docId belongs to. It
must be one of ones specified in the passed in set of categories.
docId
- the id to find a category forcategories
- confines category mapping to those categories contained in this set
IllegalArgumentException
- if the docId is not zero or greater.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |