public interface SingleLineParser
ResourceSkylines and stores them.| Modifier and Type | Method and Description |
|---|---|
void |
parseLine(String logLine,
Map<String,JobMetaData> jobMetas,
Map<RecurrenceId,List<ResourceSkyline>> skylineRecords)
Parse one line in the log file, extract the
ResourceSkylines and
store them. |
void parseLine(String logLine, Map<String,JobMetaData> jobMetas, Map<RecurrenceId,List<ResourceSkyline>> skylineRecords) throws DataFieldNotFoundException, ParseException
ResourceSkylines and
store them.logLine - one line in the log file.jobMetas - the job metadata collected during parsing.skylineRecords - the valid ResourceSkylines extracted from the
log.DataFieldNotFoundException - if certain data fields are not found in
the log.ParseException - if it fails to convert date string to
unix timestamp successfully.Copyright © 2019 Apache Software Foundation. All Rights Reserved.