Class Hardwood

java.lang.Object
dev.hardwood.Hardwood
All Implemented Interfaces:
AutoCloseable

public class Hardwood extends Object implements AutoCloseable

Entry point for reading Parquet files with a shared thread pool.

Use this when reading multiple files to share the executor across readers:

try (Hardwood hardwood = Hardwood.create()) {
    ParquetFileReader file1 = hardwood.open(InputFile.of(path1));
    ParquetFileReader file2 = hardwood.open(InputFile.of(path2));
    // ...
}

For single-file usage, ParquetFileReader.open(InputFile) is simpler.