public class CryptoFSDataOutputStream extends FSDataOutputStream
StreamCapabilities.StreamCapability
written
out
DROPBEHIND, HFLUSH, HSYNC, READAHEAD, UNBUFFER
Constructor and Description |
---|
CryptoFSDataOutputStream(FSDataOutputStream out,
org.apache.hadoop.crypto.CryptoCodec codec,
byte[] key,
byte[] iv) |
CryptoFSDataOutputStream(FSDataOutputStream out,
org.apache.hadoop.crypto.CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv) |
CryptoFSDataOutputStream(FSDataOutputStream out,
org.apache.hadoop.crypto.CryptoCodec codec,
int bufferSize,
byte[] key,
byte[] iv,
boolean closeOutputStream) |
Modifier and Type | Method and Description |
---|---|
long |
getPos()
Get the current position in the output stream.
|
close, hasCapability, hflush, hsync, setDropBehind, sync
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public CryptoFSDataOutputStream(FSDataOutputStream out, org.apache.hadoop.crypto.CryptoCodec codec, int bufferSize, byte[] key, byte[] iv) throws IOException
IOException
public CryptoFSDataOutputStream(FSDataOutputStream out, org.apache.hadoop.crypto.CryptoCodec codec, int bufferSize, byte[] key, byte[] iv, boolean closeOutputStream) throws IOException
IOException
public CryptoFSDataOutputStream(FSDataOutputStream out, org.apache.hadoop.crypto.CryptoCodec codec, byte[] key, byte[] iv) throws IOException
IOException
public long getPos() throws IOException
FSDataOutputStream
getPos
in class FSDataOutputStream
IOException
Copyright © 2018 Apache Software Foundation. All Rights Reserved.