Package com.mapr.fs
Class MapRFsOutStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.mapr.fs.MapRFsOutStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class MapRFsOutStream extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.LogLOG
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()longgetChunkSize()long[]getFidServers()java.lang.StringgetFidStr()longgetPos()voidseek(long pos)intsize()voidsync()voidwrite(byte[] buffer, int bufOffset, int length)voidwrite(int v)
-
-
-
Method Detail
-
getFidStr
public java.lang.String getFidStr() throws java.io.IOException- Throws:
java.io.IOException
-
getFidServers
public long[] getFidServers() throws java.io.IOException- Throws:
java.io.IOException
-
getChunkSize
public long getChunkSize() throws java.io.IOException- Throws:
java.io.IOException
-
size
public int size()
-
write
public void write(byte[] buffer, int bufOffset, int length) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(int v) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.OutputStream- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream- Throws:
java.io.IOException
-
sync
public void sync() throws java.io.IOException- Throws:
java.io.IOException
-
getPos
public long getPos()
-
seek
public void seek(long pos) throws java.io.IOException- Throws:
java.io.IOException
-
-