Class GorParquetWriter

java.lang.Object
org.apache.parquet.hadoop.ParquetWriter<org.gorpipe.gor.model.Row>
gorsat.parquet.GorParquetWriter
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class GorParquetWriter
extends org.apache.parquet.hadoop.ParquetWriter<org.gorpipe.gor.model.Row>
Writes parquet file from a stream of gor/nor rows
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  GorParquetWriter.GorParquetBuilder  

    Nested classes/interfaces inherited from class org.apache.parquet.hadoop.ParquetWriter

    org.apache.parquet.hadoop.ParquetWriter.Builder<T extends java.lang.Object,​SELF extends org.apache.parquet.hadoop.ParquetWriter.Builder<T,​SELF>>
  • Field Summary

    Fields inherited from class org.apache.parquet.hadoop.ParquetWriter

    DEFAULT_BLOCK_SIZE, DEFAULT_COMPRESSION_CODEC_NAME, DEFAULT_IS_DICTIONARY_ENABLED, DEFAULT_IS_VALIDATING_ENABLED, DEFAULT_PAGE_SIZE, DEFAULT_WRITER_VERSION, MAX_PADDING_SIZE_DEFAULT, OBJECT_MODEL_NAME_PROP
  • Constructor Summary

    Constructors 
    Constructor Description
    GorParquetWriter​(org.apache.hadoop.fs.Path file, org.apache.parquet.hadoop.api.WriteSupport<org.gorpipe.gor.model.Row> writeSupport, org.apache.parquet.hadoop.metadata.CompressionCodecName compressionCodecName, int blockSize, int pageSize)  
  • Method Summary

    Modifier and Type Method Description
    static GorParquetWriter.GorParquetBuilder builder​(org.apache.hadoop.fs.Path file)  

    Methods inherited from class org.apache.parquet.hadoop.ParquetWriter

    close, getDataSize, getFooter, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GorParquetWriter

      public GorParquetWriter​(org.apache.hadoop.fs.Path file, org.apache.parquet.hadoop.api.WriteSupport<org.gorpipe.gor.model.Row> writeSupport, org.apache.parquet.hadoop.metadata.CompressionCodecName compressionCodecName, int blockSize, int pageSize) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details