Class ParquetWriteAdapter<D>

java.lang.Object
org.apache.iceberg.parquet.ParquetWriteAdapter<D>
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.iceberg.io.FileAppender<D>

@Deprecated public class ParquetWriteAdapter<D> extends Object implements org.apache.iceberg.io.FileAppender<D>
Deprecated.
use ParquetWriter
Parquet writer that wraps around hadoop's ParquetWriter. It shouldn't be used in production; ParquetWriter is a better alternative.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParquetWriteAdapter(org.apache.parquet.hadoop.ParquetWriter<D> writer, org.apache.iceberg.MetricsConfig metricsConfig)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(D datum)
    Deprecated.
     
    void
    Deprecated.
     
    long
    Deprecated.
     
    org.apache.iceberg.Metrics
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.iceberg.io.FileAppender

    addAll, addAll
  • Constructor Details

    • ParquetWriteAdapter

      public ParquetWriteAdapter(org.apache.parquet.hadoop.ParquetWriter<D> writer, org.apache.iceberg.MetricsConfig metricsConfig)
      Deprecated.
  • Method Details

    • add

      public void add(D datum)
      Deprecated.
      Specified by:
      add in interface org.apache.iceberg.io.FileAppender<D>
    • metrics

      public org.apache.iceberg.Metrics metrics()
      Deprecated.
      Specified by:
      metrics in interface org.apache.iceberg.io.FileAppender<D>
    • length

      public long length()
      Deprecated.
      Specified by:
      length in interface org.apache.iceberg.io.FileAppender<D>
    • splitOffsets

      public List<Long> splitOffsets()
      Deprecated.
      Specified by:
      splitOffsets in interface org.apache.iceberg.io.FileAppender<D>
    • close

      public void close() throws IOException
      Deprecated.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException