public static class LogviewerLogSearchHandler.Matched extends Object implements org.json.simple.JSONAware
Constructor and Description |
---|
Matched(int fileOffset,
String searchString,
List<Map<String,Object>> matches,
int openedFiles)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFileOffset() |
List<Map<String,Object>> |
getMatches() |
String |
getSearchString() |
String |
toJSONString() |
public Matched(int fileOffset, String searchString, List<Map<String,Object>> matches, int openedFiles)
Constructor.
fileOffset
- offset (index) of the filessearchString
- search stringmatches
- map representing matched search resultopenedFiles
- number of files scanned, used for metrics onlyCopyright © 2020 The Apache Software Foundation. All rights reserved.