Example usage for org.apache.hadoop.streaming.io OutputReader subclass-usage

List of usage examples for org.apache.hadoop.streaming.io OutputReader subclass-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.streaming.io OutputReader subclass-usage.

Usage

From source file fm.last.darling.hbase.HBaseJSONOutputReader.java

/**
 * OutputReader that transforms the client's JSON output into HBase Puts.
 */
public class HBaseJSONOutputReader extends OutputReader<ImmutableBytesWritable, Put> {

    private ImmutableBytesWritable rowkey;

From source file org.apache.cassandra.hadoop.streaming.AvroOutputReader.java

/**
 * An OutputReader that reads sequential StreamingMutations (from Cassandra's Avro client API), and converts them to
 * the objects used by CassandraOutputFormat. This allows Hadoop Streaming to output efficiently to Cassandra via
 * a familiar API.
 *
 * Avro requires the reader's and writer's schema: otherwise, it assumes they are the same.