All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.basjes.hadoop.input.OmnitureRecordReader Maven / Gradle / Ivy

package nl.basjes.hadoop.input;

import java.text.ParseException;
import java.util.Set;

import nl.basjes.parse.OmnitureLogLineParser;
import nl.basjes.parse.core.Parser;

public class OmnitureRecordReader extends ApacheHttpdLogfileRecordReader {

    public OmnitureRecordReader(String newLogformat,
            Set newRequestedFields) {
        super(newLogformat, newRequestedFields);
    }

    protected Parser instantiateParser(String logFormat) throws ParseException {
        return new OmnitureLogLineParser<>(ParsedRecord.class, logFormat);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy