Example usage for org.apache.hadoop.io Writable interface-usage

List of usage examples for org.apache.hadoop.io Writable interface-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.io Writable interface-usage.

Usage

From source file PageRankNodeExtended.java

/**
 * Representation of a graph node for PageRank. 
 *
 * @author Jimmy Lin
 * @author Michael Schatz
 */

From source file MinMaxCountTupple.java

/**
 *
 * @author Aditia Rakhmat S
 */
public class MinMaxCountTupple implements Writable {

From source file HistogramBucket.java

public class HistogramBucket implements Writable {

    private ArrayList<DoubleWritable> splits;
    private LongWritable attribute;

    public HistogramBucket(LongWritable attr) {

From source file Filter.java

/**
 * Defines the general behavior of a filter.
 * <p>
 * A filter is a data structure which aims at offering a lossy summary of a set <code>A</code>.  The
 * key idea is to map entries of <code>A</code> (also called <i>keys</i>) into several positions 
 * in a vector through the use of several hash functions.

From source file BytesBloomFilter.java

public class BytesBloomFilter implements Writable {
    private BloomFilter _filter;

    public static BytesBloomFilter readFromFileSystem(FileSystem fs, Path p) throws IOException {
        BytesBloomFilter ret = new BytesBloomFilter();
        FSDataInputStream is = fs.open(p);

From source file Counter.java

/**
 * A named counter that tracks the progress of a map/reduce job.
 * 
 * <p><code>Counters</code> represent global counters, defined either by the 
 * Map-Reduce framework or applications. Each <code>Counter</code> is named by
 * an {@link Enum} and has a long for the value.</p>

From source file HMapSIW.java

/**
 * Writable representing a map where keys are Strings and values are ints. This
 * class is specialized for String objects to avoid the overhead that comes with
 * wrapping Strings inside <code>Text</code> objects.
 * 
 * @author Jimmy Lin

From source file TaggedMapOutput.java

/**
 * This abstract class serves as the base class for the values that 
 * flow from the mappers to the reducers in a data join job. 
 * Typically, in such a job, the mappers will compute the source
 * tag of an input record based on its attributes or based on the 
 * file name of the input file. This tag will be used by the reducers

From source file SAMBaseRecord.java

public class SAMBaseRecord implements Writable {
    private SAMRecordWritable parent;

    private int idx, cigarElemIdx, cigarPos;
    private CigarOperator cigarOp;
    private byte base, quality;

From source file AllLab_Skeleton.Lab2.CompositeKeyWritable.java

/**
 *
 * @author pooja
 */
public class CompositeKeyWritable implements Writable, WritableComparable<CompositeKeyWritable> {
    private String deptNo;