Class LogviewerLogSearchHandler.Matched
- java.lang.Object
-
- org.apache.storm.daemon.logviewer.handler.LogviewerLogSearchHandler.Matched
-
- All Implemented Interfaces:
net.minidev.json.JSONAware
- Enclosing class:
- LogviewerLogSearchHandler
public static class LogviewerLogSearchHandler.Matched extends Object implements net.minidev.json.JSONAware
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFileOffset()
List<Map<String,Object>>
getMatches()
String
getSearchString()
String
toJSONString()
-
-
-
Constructor Detail
-
Matched
public Matched(int fileOffset, String searchString, List<Map<String,Object>> matches, int openedFiles)
Constructor.- Parameters:
fileOffset
- offset (index) of the filessearchString
- search stringmatches
- map representing matched search resultopenedFiles
- number of files scanned, used for metrics only
-
-