@Test public void test2() throws Exception { int minRowCount = 1000, maxRowCount = 100000; TSFileDescriptor.getInstance().getConfig().setTimeEncoder("TS_2DIFF"); TsFileGeneratorForTest.generateFile(minRowCount, maxRowCount, 16 * 1024 * 1024, 10000); fileReader = new TsFileSequenceReader(FILE_PATH); tsFile = new ReadOnlyTsFile(fileReader); queryTest2(); queryNonExistPathTest(); tsFile.close(); TsFileGeneratorForTest.after(); }
public void close() throws IOException { fileReader.close(); }
ReadOnlyTsFile implements AutoCloseable { public void close() throws IOException { fileReader.close(); } }
ReadOnlyTsFile implements AutoCloseable { public void close() throws IOException { fileReader.close(); } ReadOnlyTsFile(TsFileSequenceReader fileReader); }
ReadOnlyTsFile implements AutoCloseable { public void close() throws IOException { fileReader.close(); } ReadOnlyTsFile(TsFileSequenceReader fileReader); QueryDataSet query(QueryExpression queryExpression); QueryDataSet query(QueryExpression queryExpression, long partitionStartOffset,
      long partitionEndOffset); void close(); }
ReadOnlyTsFile implements AutoCloseable { public void close() throws IOException { fileReader.close(); } ReadOnlyTsFile(TsFileSequenceReader fileReader); QueryDataSet query(QueryExpression queryExpression); QueryDataSet query(QueryExpression queryExpression, long partitionStartOffset,
      long partitionEndOffset); void close();  }