java.lang.AutoCloseableBaseLogParserpublic interface LogParser
extends java.lang.AutoCloseable
SingleLineParser to
parse each line, and adds extracted ResourceSkylines to the
SkylineStore.| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
init(org.apache.hadoop.conf.Configuration config,
HistorySkylineStore skylineStore) |
Initializing the LogParser, including loading solver parameters from
configuration file.
|
void |
parseStream(java.io.InputStream logs) |
Parses each line in the log stream, and adds extracted
ResourceSkylines to the
SkylineStore. |
void init(org.apache.hadoop.conf.Configuration config,
HistorySkylineStore skylineStore)
throws ResourceEstimatorException
config - Configuration for the LogParser.skylineStore - the HistorySkylineStore which stores recurring
pipeline's
ResourceSkylines.ResourceEstimatorException - if initialization of a
SingleLineParser fails.void parseStream(java.io.InputStream logs)
throws SkylineStoreException,
java.io.IOException
ResourceSkylines to the
SkylineStore.logs - the stream of input logs.SkylineStoreException - if it fails to addHistory extracted
ResourceSkylines to the SkylineStore.java.io.IOException - if it fails to read from the InputStream.void close()
close in interface java.lang.AutoCloseableCopyright © 2008–2025 Apache Software Foundation. All rights reserved.