public class TsFileSelfCheckTool extends Object
| 构造器和说明 |
|---|
TsFileSelfCheckTool() |
public Map<Long,Pair<Path,TimeseriesMetadata>> getTimeseriesMetadataMapWithPath(String filename) throws IOException, TsFileTimeseriesMetadataException
public long check(String filename, boolean fastFinish) throws IOException, TsFileStatisticsMistakesException, TsFileTimeseriesMetadataException
filename - The path of TsFile.fastFinish - If true, the method will only check the format of head (Magic String TsFile,
Version Number) and tail (Magic String TsFile) of TsFile.IOExceptionTsFileStatisticsMistakesExceptionTsFileTimeseriesMetadataExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.