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

com.mongodb.hadoop.pig.udf.GenMinKey Maven / Gradle / Ivy

Go to download

The MongoDB Connector for Hadoop is a plugin for Hadoop that provides the ability to use MongoDB as an input source and/or an output destination.

The newest version!
package com.mongodb.hadoop.pig.udf;

import com.mongodb.hadoop.pig.udf.types.PigBoxedMinKey;
import org.apache.pig.data.Tuple;

import java.io.IOException;

/**
 * Pig UDF that always returns MinKey().
 */
public class GenMinKey extends ByteArrayTypeEvalFunc {
    @Override
    public PigBoxedMinKey exec(final Tuple input) throws IOException {
        return new PigBoxedMinKey();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy