Example usage for org.apache.hadoop.io.compress CompressionOutputStream subclass-usage

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

Introduction

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

Usage

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

/**
 *
 * SchemaAwareCompressionOutputStream adds the ability to inform the comression
 * stream the current column being compressed.
 *
 */

From source file io.airlift.compress.gzip.HadoopJdkGzipOutputStream.java

class HadoopJdkGzipOutputStream extends CompressionOutputStream {
    private final byte[] oneByte = new byte[1];
    private final GZIPOutputStreamWrapper output;

    public HadoopJdkGzipOutputStream(OutputStream output, int bufferSize) throws IOException {
        super(output);

From source file io.airlift.compress.lz4.HadoopLz4OutputStream.java

class HadoopLz4OutputStream extends CompressionOutputStream {
    private final Lz4Compressor compressor = new Lz4Compressor();

    private final byte[] inputBuffer;
    private final int inputMaxSize;
    private int inputOffset;

From source file io.airlift.compress.lzo.HadoopLzoOutputStream.java

class HadoopLzoOutputStream extends CompressionOutputStream {
    private final LzoCompressor compressor = new LzoCompressor();

    private final byte[] inputBuffer;
    private final int inputMaxSize;
    private int inputOffset;

From source file io.airlift.compress.lzo.HadoopLzopOutputStream.java

class HadoopLzopOutputStream extends CompressionOutputStream {
    private static final int LZOP_FORMAT_VERSION = 0x0940;
    private static final int LZO_FORMAT_VERSION = 0x2050;
    private static final int LEVEL = 5;

    private final LzoCompressor compressor = new LzoCompressor();

From source file io.airlift.compress.snappy.HadoopSnappyOutputStream.java

class HadoopSnappyOutputStream extends CompressionOutputStream {
    private final SnappyCompressor compressor = new SnappyCompressor();

    private final byte[] inputBuffer;
    private final int inputMaxSize;
    private int inputOffset;

From source file org.apache.asterix.hivecompat.io.SchemaAwareCompressionOutputStream.java

/**
 *
 * SchemaAwareCompressionOutputStream adds the ability to inform the comression stream
 * the current column being compressed.
 *
 */

From source file org.apache.tajo.storage.rcfile.SchemaAwareCompressionOutputStream.java

/**
 *
 * SchemaAwareCompressionOutputStream adds the ability to inform the comression stream
 * the current column being compressed.
 *
 */

From source file tajo.storage.rcfile.SchemaAwareCompressionOutputStream.java

/**
 *
 * SchemaAwareCompressionOutputStream adds the ability to inform the comression stream
 * the current column being compressed.
 *
 */