|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQHttpLogReader
An object implementing this interface, available via aqua.io.newHttpLogReader(), facilitates reading of Apache web server access log files.
This helper interface makes no assumptions as to the log format (which depends on the specific server configuration). AAQDataSet
produced
by this interface contains the data present in the log, minus square brackets and quotes
found in the original log.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.aquafold.openapi.io.AQDataReader |
---|
close, getColumnStructure, readNextRow |
Method Detail |
---|
void setFile(String filename)
filename
- void setLogFormat(String format)
format
- void 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
- AQDataSet 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.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |