public class ParquetIO extends Object
| Constructor and Description |
|---|
ParquetIO() |
| Modifier and Type | Method and Description |
|---|---|
ParquetStarTable |
readParquet(DataSource datsrc,
ParquetTableBuilder builder,
ParquetStarTable.Config config,
boolean useCache,
boolean tryUrl)
Reads a parquet table on behalf of a ParquetTableBuilder.
|
void |
writeParquet(StarTable table,
ParquetTableWriter writer,
OutputStream out)
Writes a parqet table to an output stream on behalf of a
ParquetTableWriter.
|
void |
writeParquet(StarTable table,
ParquetTableWriter writer,
String location)
Writes a parqet table to a named location on behalf of a
ParquetTableWriter.
|
public ParquetStarTable readParquet(DataSource datsrc, ParquetTableBuilder builder, ParquetStarTable.Config config, boolean useCache, boolean tryUrl) throws IOException
datsrc - data sourcebuilder - handler providing configurationconfig - table reading configurationuseCache - true for column caching, false for sequentialtryUrl - whether to attempt opening non-file URLsIOExceptionpublic void writeParquet(StarTable table, ParquetTableWriter writer, String location) throws IOException
table - table to writewriter - handler providing configurationlocation - destinationIOExceptionpublic void writeParquet(StarTable table, ParquetTableWriter writer, OutputStream out) throws IOException
table - table to writewriter - handler providing configurationout - destination streamIOExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.