Example usage for org.apache.mahout.math VarLongWritable subclass-usage

List of usage examples for org.apache.mahout.math VarLongWritable subclass-usage

Introduction

In this page you can find the example usage for org.apache.mahout.math VarLongWritable subclass-usage.

Usage

From source file org.gpfvic.mahout.cf.taste.hadoop.EntityPrefWritable.java

/** A {@link org.apache.hadoop.io.Writable} encapsulating an item ID and a preference value. */
public final class EntityPrefWritable extends VarLongWritable implements Cloneable {

    private float prefValue;

    public EntityPrefWritable() {

From source file semvec.mahout.TupleWritable.java

/**
 * A {@link org.apache.hadoop.io.Writable} encapsulating a User ID, pref, user's
 * random place.
 */
public final class TupleWritable extends VarLongWritable {
    private long itemID;

From source file semvec.mahout.UserDimWritable.java

/** A {@link org.apache.hadoop.io.Writable} encapsulating a User ID and a dimension index. */
public final class UserDimWritable extends VarLongWritable {

    private long dimension;

    public UserDimWritable() {