public class ParquetIO
extends java.lang.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,
java.io.OutputStream out)
Writes a parqet table to an output stream on behalf of a
ParquetTableWriter.
|
void |
writeParquet(StarTable table,
ParquetTableWriter writer,
java.lang.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 java.io.IOException
datsrc
- data sourcebuilder
- handler providing configurationconfig
- table reading configurationuseCache
- true for column caching, false for sequentialtryUrl
- whether to attempt opening non-file URLsjava.io.IOException
public void writeParquet(StarTable table, ParquetTableWriter writer, java.lang.String location) throws java.io.IOException
table
- table to writewriter
- handler providing configurationlocation
- destinationjava.io.IOException
public void writeParquet(StarTable table, ParquetTableWriter writer, java.io.OutputStream out) throws java.io.IOException
table
- table to writewriter
- handler providing configurationout
- destination streamjava.io.IOException