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, toString
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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()
FSDataOutputStream
getPos
in class FSDataOutputStream
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.