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 cosmos.results.Column.java

public class Column implements Writable {
    private String name;

    protected Column() {
    }

From source file crunch.MaxTemperature.java

    public class Widget extends SqoopRecord implements DBWritable, Writable {
        private final int PROTOCOL_VERSION = 3;

        public int getClassFormatVersion() {
            return PROTOCOL_VERSION;
        }

From source file cs698.giraph.kmode.NodeState.java

public class NodeState implements Writable {

    private PointWritable point = new PointWritable();
    private int cluster = -1;
    private PointWritable clusterCentre = new PointWritable();

From source file cs698.giraph.kmode.PointWritable.java

public class PointWritable implements Writable {

    private int[] data = new int[0];

    public PointWritable() {
        this.data = new int[0];

From source file csc555.ebratt.depaul.edu.GroupByCountPair.java

/**
 * GroupByCountPair is a class that allows for secondary sorting in a hadoop
 * framework. It works on Text and LongWritable objects under the assumption
 * that the user wants to group by and count to be something that cane be
 * sorted.
 * 

From source file DAAL.WriteableData.java

/**
 * @brief Model is the base class for classes that represent models, such as
 * a linear regression or support vector machine (SVM) classifier.
 */
public class WriteableData implements Writable {

From source file data.intelligence.platform.yarn.etl.io.BytesRefArrayWritable.java

/**
 * <tt>BytesRefArrayWritable</tt> holds an array reference to BytesRefWritable,
 * and is able to resize without recreating new array if not necessary.
 * <p>
 *
 * Each <tt>BytesRefArrayWritable holds</tt> instance has a <i>valid</i> field,

From source file data.intelligence.platform.yarn.etl.io.BytesRefWritable.java

/**
 * <tt>BytesRefWritable</tt> referenced a section of byte array. It can be used
 * to avoid unnecessary byte copy.
 */
public class BytesRefWritable implements Writable, Comparable<BytesRefWritable> {

From source file datamine.storage.recordbuffers.RecordBuffer.java

/**
 * The implementation of storage for a record. 
 * 
 * @author yqi
 * @date Jul 31, 2014
 */

From source file de.bbcdaas.synonymlexicon.common.mahout.used.VectorWritable.java

public final class VectorWritable extends Configured implements Writable {

    public static final int FLAG_DENSE = 0x01;
    public static final int FLAG_SEQUENTIAL = 0x02;
    public static final int FLAG_NAMED = 0x04;
    public static final int FLAG_LAX_PRECISION = 0x08;