public interface AQHttpLogReader extends AQDataReader
This helper interface makes no assumptions as to the log format (which depends on the
specific server configuration). A AQDataSet
produced
by this interface contains the data present in the log, minus square brackets and quotes
found in the original log.
Modifier and Type | Method and Description |
---|---|
AQDataSet |
read()
Sequentially reads the input log into an in-memory data set.
|
void |
setFile(String filename)
Sets the input file name
|
void |
setFirstLineContainsColumnNames(boolean contains)
Determines whether first call to
AQDataReader.readNextRow() should return column names set previously by
setLogFormat(String) . |
void |
setLogFormat(String format)
Sets column structure according to Apache Log Format specification.
|
close, getColumnStructure, readNextRow
void setFile(String filename)
filename
- The filenamevoid setLogFormat(String format)
format
- The formatvoid setFirstLineContainsColumnNames(boolean contains)
AQDataReader.readNextRow()
should return column names set previously by
setLogFormat(String)
. This call has no effect on subsequent calls to AQDataReader.readNextRow()
.contains
- To turn the option on/offAQDataSet read() throws Exception
setLogFormat(String)
method,
a new column structure is created with text columns named C1, C2, C3, ...read
in interface AQDataReader
Exception
- On error
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.