public class ForceAppendTsFileWriter extends TsFileIOWriter
canWrite, chunkGroupMetadataList, chunkMetadataList, config, file, MAGIC_STRING_BYTES, out, VERSION_NUMBER_BYTE| Constructor and Description |
|---|
ForceAppendTsFileWriter(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
doTruncate() |
long |
getTruncatePosition() |
canWrite, close, endChunkGroup, endCurrentChunk, endFile, filterChunks, getDeviceChunkMetadataMap, getDeviceTimeseriesMetadataMap, getFile, getIOWriterOut, getMaxPlanIndex, getMinPlanIndex, getPos, isWritingChunkGroup, mark, reset, setFile, setMaxPlanIndex, setMinPlanIndex, startChunkGroup, startFile, startFlushChunk, truncate, writeBytesToStream, writeChunk, writePlanIndicespublic ForceAppendTsFileWriter(File file) throws IOException
IOExceptionpublic void doTruncate()
throws IOException
IOExceptionpublic long getTruncatePosition()
Copyright © 2022 The Apache Software Foundation. All rights reserved.