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 void
addSpanInfo(String key, HitSpanInfo hitSpanInfo)
List<HitSpanInfo>
getHitSpanInfo(String key)
Map<String,Integer>
getHitSpansPerPage()
List<String>
getQueryTerms()
int
getTermsPerQuery()
boolean
hasHitSpanInfo(String key)
-
-
-
Method Detail
-
getQueryTerms
public List<String> getQueryTerms()
- Specified by:
getQueryTerms
in interfaceSpansInfo
-
addSpanInfo
public void addSpanInfo(String key, HitSpanInfo hitSpanInfo)
- Specified by:
addSpanInfo
in interfaceSpansInfo
-
hasHitSpanInfo
public boolean hasHitSpanInfo(String key)
- Specified by:
hasHitSpanInfo
in interfaceSpansInfo
-
getHitSpanInfo
public List<HitSpanInfo> getHitSpanInfo(String key)
- Specified by:
getHitSpanInfo
in interfaceSpansInfo
-
getHitSpansPerPage
public Map<String,Integer> getHitSpansPerPage()
- Specified by:
getHitSpansPerPage
in interfaceSpansInfo
-
getTermsPerQuery
public int getTermsPerQuery()
- Specified by:
getTermsPerQuery
in interfaceSpansInfo
-
-