Package net.sf.jasperreports.search
Class LuceneSpansInfo
- java.lang.Object
-
- net.sf.jasperreports.search.LuceneSpansInfo
-
- All Implemented Interfaces:
Serializable,SpansInfo
public class LuceneSpansInfo extends Object implements SpansInfo, Serializable
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LuceneSpansInfo(int termsPerQuery)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTermInfo(String key, HitTermInfo hitTermInfo)List<HitTermInfo>getHitTermsInfo(String key)Map<String,Integer>getHitTermsPerPage()intgetTermsPerQuery()booleanhasHitTermsInfo(String key)
-
-
-
Method Detail
-
addTermInfo
public void addTermInfo(String key, HitTermInfo hitTermInfo)
-
hasHitTermsInfo
public boolean hasHitTermsInfo(String key)
- Specified by:
hasHitTermsInfoin interfaceSpansInfo
-
getHitTermsInfo
public List<HitTermInfo> getHitTermsInfo(String key)
- Specified by:
getHitTermsInfoin interfaceSpansInfo
-
getHitTermsPerPage
public Map<String,Integer> getHitTermsPerPage()
- Specified by:
getHitTermsPerPagein interfaceSpansInfo
-
getTermsPerQuery
public int getTermsPerQuery()
- Specified by:
getTermsPerQueryin interfaceSpansInfo
-
-