uk.ac.starlink.parquet.StarParquetWriter Maven / Gradle / Ivy
package uk.ac.starlink.parquet;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.parquet.hadoop.ParquetWriter;
import org.apache.parquet.hadoop.api.WriteSupport;
import org.apache.parquet.io.api.RecordConsumer;
import org.apache.parquet.schema.MessageType;
import org.apache.parquet.schema.Types;
import org.apache.parquet.io.OutputFile;
import uk.ac.starlink.table.ColumnInfo;
import uk.ac.starlink.table.StarTable;
/**
* ParquetWriter implementation for output of StarTables.
*
* @author Mark Taylor
* @since 25 Feb 2021
*/
public class StarParquetWriter extends ParquetWriter