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 bigsidemodel.DataNode.java

public class DataNode implements Writable {
    private int n;
    private float[] data;

    public DataNode() {
    }

From source file bigsidemodel.ModelNode.java

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

From source file bixo.datum.HttpHeaders.java

public class HttpHeaders implements Writable {

    private Map<String, List<String>> _headers;

    public HttpHeaders() {
        this(null);

From source file bixo.datum.Outlink.java

public class Outlink implements Writable {

    private static final String NO_FOLLOW_REL_ATTRIBUTE = "nofollow";

    private String _toUrl;
    private String _anchorText;

From source file bixo.examples.webmining.PageResult.java

public class PageResult implements Writable {

    public static final String SOURCE_URL_FN = "sourceurl";
    public static final String IMG_URL_FN = "imageurl";
    public static final String DESC_FN = "description";

From source file boa.io.EmitValue.java

/**
 * A {@link Writable} that contains a datum and an optional metadatum to be
 * emitted to a Boa table.
 * 
 * @author anthonyu
 * @author rdyer

From source file boosting.classifiers.DecisionStumpWritable.java

/**
 <!-- globalinfo-start -->
 * Class for building and using a decision stump. Usually used in conjunction with a boosting algorithm. Does regression (based on mean-squared error) or classification (based on entropy). Missing is treated as a separate value.
 * <p/>
 <!-- globalinfo-end -->
 *

From source file ca.uwaterloo.iss4e.common.ArrayListWritable.java

/**
 *  Copyright (c) 2014 Xiufeng Liu ( xiufeng.liu@uwaterloo.ca )
 *
 *  This file is free software: you may copy, redistribute and/or modify it
 *  under the terms of the GNU General Public License version 2
 *  as published by the Free Software Foundation.

From source file cc.solr.lucene.store.hdfs.HdfsMetaBlock.java

class HdfsMetaBlock implements Writable {
    long logicalPosition;
    long realPosition;
    long length;

    @Override

From source file chapter4.src.logistic.LogisticModelParametersPredict.java

/**
 * Encapsulates everything we need to know about a model and how it reads and vectorizes its input.
 * This encapsulation allows us to coherently save and restore a model from a file.  This also
 * allows us to keep command line arguments that affect learning in a coherent way.
 */
public class LogisticModelParametersPredict implements Writable {