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 Details

    • Matched

      public Matched(int fileOffset, String searchString, List<Map<String,Object>> matches, int openedFiles)
      Constructor.
      Parameters:
      fileOffset - offset (index) of the files
      searchString - search string
      matches - map representing matched search result
      openedFiles - number of files scanned, used for metrics only
  • Method Details

    • getFileOffset

      public int getFileOffset()
    • getSearchString

      public String getSearchString()
    • getMatches

      public List<Map<String,Object>> getMatches()
    • toJSONString

      public String toJSONString()
      Specified by:
      toJSONString in interface net.minidev.json.JSONAware