@InterfaceAudience.Public @InterfaceStability.Stable public class FSDataOutputStream extends DataOutputStream implements Syncable, CanSetDropBehind
OutputStream in a DataOutputStream.writtenout| コンストラクタと説明 | 
|---|
| FSDataOutputStream(OutputStream out,
                  org.apache.hadoop.fs.FileSystem.Statistics stats) | 
| FSDataOutputStream(OutputStream out,
                  org.apache.hadoop.fs.FileSystem.Statistics stats,
                  long startPosition) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| void | close()Close the underlying output stream. | 
| long | getPos()Get the current position in the output stream. | 
| void | hflush()Flush out the data in client's user buffer. | 
| void | hsync()Similar to posix fsync, flush out the data in client's user buffer 
 all the way to the disk device (but the disk may have it in its cache). | 
| void | setDropBehind(Boolean dropBehind)Configure whether the stream should drop the cache. | 
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFwriteclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic FSDataOutputStream(OutputStream out, org.apache.hadoop.fs.FileSystem.Statistics stats)
public FSDataOutputStream(OutputStream out, org.apache.hadoop.fs.FileSystem.Statistics stats, long startPosition)
public long getPos()
public void close() throws IOException
close インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 FilterOutputStreamIOExceptionpublic void hflush() throws IOException
Syncablehflush インタフェース内 SyncableIOException - if any error occurspublic void hsync() throws IOException
Syncablehsync インタフェース内 SyncableIOException - if error occurspublic void setDropBehind(Boolean dropBehind) throws IOException
CanSetDropBehindsetDropBehind インタフェース内 CanSetDropBehinddropBehind - Whether to drop the cache.  null means to use the
                      default value.IOException - If there was an error changing the dropBehind
                      setting.
         UnsupportedOperationException  If this stream doesn't support
                                        setting the drop-behind.Copyright © 2016 Apache Software Foundation. All rights reserved.