Example usage for org.apache.hadoop.io BinaryComparable subclass-usage

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

Introduction

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

Usage

From source file bixo.datum.ContentBytes.java

@SuppressWarnings("serial")
public class ContentBytes extends BinaryComparable implements WritableComparable<BinaryComparable>, Serializable {

    private static final int LENGTH_BYTES = 4;
    private static final byte[] EMPTY_BYTES = {};

From source file com.cloudera.ByteBufferWritable.java

public class ByteBufferWritable extends BinaryComparable implements WritableComparable<BinaryComparable> {

    private ByteBuffer buffer;

    /**
     * Creates a new, 0-length ByteBufferWritable

From source file com.datasalt.pangool.io.BytesWritable.java

/**
 * A byte sequence that is usable as a key or value.
 * It is resizable and distinguishes between the size of the seqeunce and
 * the current capacity. The hash function is the front of the md5 of the
 * buffer. The sort order is the same as memcmp. Uses a
 * variable length integer for serializing the size.

From source file de.tudarmstadt.ukp.dkpro.bigdata.collocations.Gram.java

/**
 * Writable for holding data generated from the collocation discovery jobs. Depending on the job configuration
 * gram may be one or more words. In some contexts this is used to hold a complete ngram, while in others it
 * holds a part of an existing ngram (subgram). Tracks the frequency of the gram and its position in the ngram
 * in which is was found.
 */

From source file de.tudarmstadt.ukp.dkpro.bigdata.collocations.GramKey.java

/** A GramKey, based on the identity fields of Gram (type, string) plus a byte[] used for secondary ordering */
public final class GramKey extends BinaryComparable implements WritableComparable<BinaryComparable> {

    private int primaryLength;
    private int length;
    private byte[] bytes;

From source file gov.va.research.red.ex.hadoop.MatchedElementWritable.java

/**
 * @author doug
 *
 */
public class MatchedElementWritable extends BinaryComparable implements WritableComparable<BinaryComparable> {

From source file kogiri.common.hadoop.io.datatypes.CompressedIntArrayWritable.java

/**
 *
 * @author iychoi
 */
public class CompressedIntArrayWritable extends BinaryComparable implements WritableComparable<BinaryComparable> {

From source file kogiri.common.hadoop.io.datatypes.CompressedSequenceWritable.java

/**
 *
 * @author iychoi
 */
public class CompressedSequenceWritable extends BinaryComparable implements WritableComparable<BinaryComparable> {

From source file kogiri.common.hadoop.io.datatypes.DoubleArrayWritable.java

/**
 *
 * @author iychoi
 */
public class DoubleArrayWritable extends BinaryComparable implements WritableComparable<BinaryComparable> {

From source file kogiri.common.hadoop.io.datatypes.MultiFileCompressedSequenceWritable.java

/**
 *
 * @author iychoi
 */
public class MultiFileCompressedSequenceWritable extends BinaryComparable
        implements WritableComparable<BinaryComparable> {