Class HttpdParser
java.lang.Object
org.apache.drill.exec.store.httpd.HttpdParser
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHttpdParser
(String logFormat, String timestampFormat, boolean flattenWildcards, boolean parseUserAgent, String logParserRemapping, EasySubScan scan) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFieldsToParser
(RowSetLoader rowWriter) boolean
boolean
boolean
void
We do not expose the underlying parser or the record which is used to manage the writers.
-
Field Details
-
PARSER_WILDCARD
- See Also:
-
-
Constructor Details
-
HttpdParser
public HttpdParser(String logFormat, String timestampFormat, boolean flattenWildcards, boolean parseUserAgent, String logParserRemapping, EasySubScan scan)
-
-
Method Details
-
parse
public void parse(String line) throws nl.basjes.parse.core.exceptions.DissectionFailure, nl.basjes.parse.core.exceptions.InvalidDissectorException, nl.basjes.parse.core.exceptions.MissingDissectorsException We do not expose the underlying parser or the record which is used to manage the writers.- Parameters:
line
- log line to tear apart.- Throws:
nl.basjes.parse.core.exceptions.DissectionFailure
- if there is a generic dissector failurenl.basjes.parse.core.exceptions.InvalidDissectorException
- if the dissector is not validnl.basjes.parse.core.exceptions.MissingDissectorsException
- if the dissector is missing
-
setupParser
public TupleMetadata setupParser() throws NoSuchMethodException, nl.basjes.parse.core.exceptions.MissingDissectorsException, nl.basjes.parse.core.exceptions.InvalidDissectorException- Throws:
NoSuchMethodException
nl.basjes.parse.core.exceptions.MissingDissectorsException
nl.basjes.parse.core.exceptions.InvalidDissectorException
-
addFieldsToParser
-
isStarQuery
public boolean isStarQuery() -
isMetadataQuery
public boolean isMetadataQuery() -
isOnlyImplicitColumns
public boolean isOnlyImplicitColumns()
-