All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twitter.elephantbird.mapreduce.io.RawBlockWriter Maven / Gradle / Ivy

There is a newer version: 4.17
Show newest version
package com.twitter.elephantbird.mapreduce.io;

import java.io.OutputStream;

/**
 * A {@link BinaryBlockWriter} where each record is a byte array.
 */
public class RawBlockWriter extends BinaryBlockWriter {

  public RawBlockWriter(OutputStream out) {
    super(out, byte[].class,
        new IdentityBinaryConverter(), DEFAULT_NUM_RECORDS_PER_BLOCK);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy