Class ParquetTableWriter

java.lang.Object
io.deephaven.parquet.table.ParquetTableWriter

public class ParquetTableWriter extends Object
API for writing DH tables in parquet format
  • Field Details

  • Constructor Details

    • ParquetTableWriter

      public ParquetTableWriter()
  • Method Details

    • write

      public static void write(@NotNull @NotNull Table table, @NotNull @NotNull TableDefinition definition, @NotNull @NotNull ParquetInstructions writeInstructions, @NotNull @NotNull String path, @NotNull @NotNull Map<String,String> tableMeta, @NotNull TableInfo.Builder tableInfoBuilder) throws SchemaMappingException, IOException
      Writes a table in parquet format under a given path
      Parameters:
      table - The table to write
      definition - The table definition
      writeInstructions - Write instructions for customizations while writing
      path - The destination path
      tableMeta - A map of metadata values to be stores in the file footer
      tableInfoBuilder - A partially-constructed builder for the metadata object
      Throws:
      SchemaMappingException - Error creating a parquet table schema for the given table (likely due to unsupported types)
      IOException - For file writing related errors