diff --git a/dwio/nimble/velox/VeloxReader.h b/dwio/nimble/velox/VeloxReader.h index 474696a..5b1b972 100644 --- a/dwio/nimble/velox/VeloxReader.h +++ b/dwio/nimble/velox/VeloxReader.h @@ -29,6 +29,7 @@ #include "velox/dwio/common/ColumnSelector.h" #include "velox/dwio/common/ExecutorBarrier.h" #include "velox/dwio/common/FlatMapHelper.h" +#include "velox/dwio/common/UnitLoader.h" #include "velox/type/Type.h" #include "velox/vector/BaseVector.h" @@ -60,6 +61,10 @@ struct VeloxReadParams : public FieldReaderParams { // Report the Wall time (us) that we spend decoding. std::function decodingTimeCallback; + + // Factory with the algorithm to load stripes (units). + // If nullptr we'll use the default one, that doesn't pre-load stripes. + std::shared_ptr unitLoaderFactory; }; class VeloxReader {