@InterfaceAudience.Public @InterfaceStability.Evolving public class HdfsDataOutputStream extends FSDataOutputStream
FSDataOutputStream
.written
out
コンストラクタと説明 |
---|
HdfsDataOutputStream(org.apache.hadoop.crypto.CryptoOutputStream out,
org.apache.hadoop.fs.FileSystem.Statistics stats) |
HdfsDataOutputStream(org.apache.hadoop.crypto.CryptoOutputStream out,
org.apache.hadoop.fs.FileSystem.Statistics stats,
long startPosition) |
HdfsDataOutputStream(org.apache.hadoop.hdfs.DFSOutputStream out,
org.apache.hadoop.fs.FileSystem.Statistics stats) |
HdfsDataOutputStream(org.apache.hadoop.hdfs.DFSOutputStream out,
org.apache.hadoop.fs.FileSystem.Statistics stats,
long startPosition) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
getCurrentBlockReplication()
Get the actual number of replicas of the current block.
|
void |
hsync(EnumSet<org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag> syncFlags)
Sync buffered data to DataNodes (flush to disk devices).
|
close, getPos, hflush, hsync, setDropBehind
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 HdfsDataOutputStream(org.apache.hadoop.hdfs.DFSOutputStream out, org.apache.hadoop.fs.FileSystem.Statistics stats, long startPosition) throws IOException
IOException
public HdfsDataOutputStream(org.apache.hadoop.hdfs.DFSOutputStream out, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException
IOException
public HdfsDataOutputStream(org.apache.hadoop.crypto.CryptoOutputStream out, org.apache.hadoop.fs.FileSystem.Statistics stats, long startPosition) throws IOException
IOException
public HdfsDataOutputStream(org.apache.hadoop.crypto.CryptoOutputStream out, org.apache.hadoop.fs.FileSystem.Statistics stats) throws IOException
IOException
public int getCurrentBlockReplication() throws IOException
IOException
public void hsync(EnumSet<org.apache.hadoop.hdfs.client.HdfsDataOutputStream.SyncFlag> syncFlags) throws IOException
syncFlags
- Indicate the detailed semantic and actions of the hsync.IOException
FSDataOutputStream.hsync()
Copyright © 2016 Apache Software Foundation. All rights reserved.