@Test public void test1() throws IOException { TSFileDescriptor.getInstance().getConfig().setTimeEncoder("TS_2DIFF"); int rowCount = 1000; TsFileGeneratorForTest.generateFile(rowCount, 16 * 1024 * 1024, 10000); fileReader = new TsFileSequenceReader(FILE_PATH); tsFile = new ReadOnlyTsFile(fileReader); queryTest(rowCount); 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();  }