Class ForceAppendTsFileWriter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ForceAppendTsFileWriter
    extends TsFileIOWriter
    ForceAppendTsFileWriter opens a COMPLETE TsFile, reads and truncate its metadata to support appending new data.
    • Constructor Detail

      • ForceAppendTsFileWriter

        public ForceAppendTsFileWriter​(java.io.File file)
                                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • doTruncate

        public void doTruncate()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getTruncatePosition

        public long getTruncatePosition()