Class LuceneSpansInfo
- java.lang.Object
-
- net.sf.jasperreports.interactivity.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, List<String> queryTerms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSpanInfo(String key, HitSpanInfo hitSpanInfo)List<HitSpanInfo>getHitSpanInfo(String key)Map<String,Integer>getHitSpansPerPage()List<String>getQueryTerms()intgetTermsPerQuery()booleanhasHitSpanInfo(String key)
-
-
-
Method Detail
-
getQueryTerms
public List<String> getQueryTerms()
- Specified by:
getQueryTermsin interfaceSpansInfo
-
addSpanInfo
public void addSpanInfo(String key, HitSpanInfo hitSpanInfo)
- Specified by:
addSpanInfoin interfaceSpansInfo
-
hasHitSpanInfo
public boolean hasHitSpanInfo(String key)
- Specified by:
hasHitSpanInfoin interfaceSpansInfo
-
getHitSpanInfo
public List<HitSpanInfo> getHitSpanInfo(String key)
- Specified by:
getHitSpanInfoin interfaceSpansInfo
-
getHitSpansPerPage
public Map<String,Integer> getHitSpansPerPage()
- Specified by:
getHitSpansPerPagein interfaceSpansInfo
-
getTermsPerQuery
public int getTermsPerQuery()
- Specified by:
getTermsPerQueryin interfaceSpansInfo
-
-