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

nl.basjes.pig.input.apachehttpdlog.omniture.OmnitureLoader Maven / Gradle / Ivy

/*
 * Apache HTTPD logparsing made easy
 * Copyright (C) 2011-2015 Niels Basjes
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see .
 */

package nl.basjes.pig.input.apachehttpdlog.omniture;

import java.io.IOException;

import nl.basjes.hadoop.input.OmnitureInputFormat;
import nl.basjes.pig.input.apachehttpdlog.Loader;

import org.apache.hadoop.mapreduce.InputFormat;

@Deprecated
public class OmnitureLoader extends Loader {

    /**
     * Pig Loaders only take string parameters. The CTOR is really the only
     * interaction the user has with the Loader from the script.
     *
     * @param parameters The parameters entered from the PIG code.
     */
    public OmnitureLoader(String... parameters) {
        super(parameters);
    }


    @Override
    public InputFormat getInputFormat()
        throws IOException {
        return new OmnitureInputFormat(getLogformat(), getRequestedFields(), getTypeRemappings(), getAdditionalDissectors());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy