Class BCFile.Writer.BlockAppender

    • Method Detail

      • getRawSize

        public long getRawSize()
                        throws IOException
        Get the raw size of the block.
        Returns:
        the number of uncompressed bytes written through the BlockAppender so far.
        Throws:
        IOException
      • getCompressedSize

        public long getCompressedSize()
                               throws IOException
        Get the compressed size of the block in progress.
        Returns:
        the number of compressed bytes written to the underlying FS file. The size may be smaller than actual need to compress the all data written due to internal buffering inside the compressor.
        Throws:
        IOException
      • getStartPos

        public long getStartPos()