Package com.mapr.fs

Class 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.Log LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      long getChunkSize()  
      long[] getFidServers()  
      java.lang.String getFidStr()  
      long getPos()  
      void seek​(long pos)  
      int size()  
      void sync()  
      void write​(byte[] buffer, int bufOffset, int length)  
      void write​(int v)  
      • Methods inherited from class java.io.OutputStream

        nullOutputStream, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
    • 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:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write​(int v)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.OutputStream
        Throws:
        java.io.IOException
      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.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