Example usage for org.apache.hadoop.crypto CryptoOutputStream getWrappedStream

List of usage examples for org.apache.hadoop.crypto CryptoOutputStream getWrappedStream

Introduction

In this page you can find the example usage for org.apache.hadoop.crypto CryptoOutputStream getWrappedStream.

Prototype

public OutputStream getWrappedStream() 

Source Link

Usage

From source file:com.mellanox.r4h.client.HdfsDataOutputStream.java

License:Apache License

public HdfsDataOutputStream(CryptoOutputStream out, FileSystem.Statistics stats, long startPosition)
        throws IOException {
    super(out, stats, startPosition);
    Preconditions.checkArgument(out.getWrappedStream() instanceof DFSOutputStream,
            "CryptoOutputStream should wrap a DFSOutputStream");
}