
com.mongodb.hadoop.streaming.io.MongoUpdateInputWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongo-hadoop-streaming Show documentation
Show all versions of mongo-hadoop-streaming Show documentation
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.
package com.mongodb.hadoop.streaming.io;
import com.mongodb.hadoop.io.BSONWritable;
import com.mongodb.hadoop.io.MongoUpdateWritable;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.streaming.PipeMapRed;
import org.apache.hadoop.streaming.io.InputWriter;
import java.io.DataOutput;
import java.io.IOException;
/**
* InputWriter capable of handling both BSONWritable and MongoUpdateWritable
* as value types.
*/
public class MongoUpdateInputWriter extends InputWriter
© 2015 - 2025 Weber Informatics LLC | Privacy Policy