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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
-
Constructor Details
-
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
-
-
Method Details
-
getFileOffset
public int getFileOffset() -
getSearchString
-
getMatches
-
toJSONString
- Specified by:
toJSONString
in interfacenet.minidev.json.JSONAware
-