Package org.dflib.parquet
Class ParquetLoader
java.lang.Object
org.dflib.parquet.ParquetLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncols(int... columns) Configures the loader to only process the specified columns, and include them in the DataFrame in the specified order.colsExcept(int... columns) colsExcept(String... columns) compactCol(int column) Configures a Parquet column to be loaded with value compaction.compactCol(String column) Configures a Parquet column to be loaded with value compaction.load(ByteSource src) loadAll(ByteSources src)
-
Constructor Details
-
ParquetLoader
public ParquetLoader()
-
-
Method Details
-
cols
Configures the loader to only process the specified columns, and include them in the DataFrame in the specified order.- Returns:
- this loader instance
-
cols
- Returns:
- this loader instance
-
colsExcept
- Returns:
- this loader instance
-
colsExcept
- Returns:
- this loader instance
-
compactCol
Configures a Parquet column to be loaded with value compaction. Should be used to save memory for low-cardinality columns. Note that Parquet already does compaction on String columns by default, but some other column types can take advantage of an explicit compaction. -
compactCol
Configures a Parquet column to be loaded with value compaction. Should be used to save memory for low-cardinality columns. Note that Parquet already does compaction on String columns by default, but some other column types can take advantage of an explicit compaction. -
load
-
load
-
load
-
load
- Since:
- 1.1.0
-
loadAll
- Since:
- 1.1.0
-