public class CryptoFSDataOutputStream extends FSDataOutputStream
StreamCapabilities.StreamCapabilitywrittenoutDROPBEHIND, HFLUSH, HSYNC, PREADBYTEBUFFER, READAHEAD, READBYTEBUFFER, 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, syncflush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFwriteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic CryptoFSDataOutputStream(FSDataOutputStream out, org.apache.hadoop.crypto.CryptoCodec codec, int bufferSize, byte[] key, byte[] iv) throws IOException
IOExceptionpublic CryptoFSDataOutputStream(FSDataOutputStream out, org.apache.hadoop.crypto.CryptoCodec codec, int bufferSize, byte[] key, byte[] iv, boolean closeOutputStream) throws IOException
IOExceptionpublic CryptoFSDataOutputStream(FSDataOutputStream out, org.apache.hadoop.crypto.CryptoCodec codec, byte[] key, byte[] iv) throws IOException
IOExceptionpublic long getPos()
throws IOException
FSDataOutputStreamgetPos in class FSDataOutputStreamIOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.