Class HadoopOutputFile

java.lang.Object
org.apache.parquet.hadoop.util.HadoopOutputFile
All Implemented Interfaces:
org.apache.parquet.io.OutputFile

public class HadoopOutputFile extends Object implements org.apache.parquet.io.OutputFile
  • Method Details

    • getBlockFileSystems

      public static Set<String> getBlockFileSystems()
    • fromPath

      public static HadoopOutputFile fromPath(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf) throws IOException
      Throws:
      IOException
    • fromPathUnchecked

      public static HadoopOutputFile fromPathUnchecked(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
    • getConfiguration

      public org.apache.hadoop.conf.Configuration getConfiguration()
    • create

      public org.apache.parquet.io.PositionOutputStream create(long blockSizeHint) throws IOException
      Specified by:
      create in interface org.apache.parquet.io.OutputFile
      Throws:
      IOException
    • createOrOverwrite

      public org.apache.parquet.io.PositionOutputStream createOrOverwrite(long blockSizeHint) throws IOException
      Specified by:
      createOrOverwrite in interface org.apache.parquet.io.OutputFile
      Throws:
      IOException
    • supportsBlockSize

      public boolean supportsBlockSize()
      Specified by:
      supportsBlockSize in interface org.apache.parquet.io.OutputFile
    • defaultBlockSize

      public long defaultBlockSize()
      Specified by:
      defaultBlockSize in interface org.apache.parquet.io.OutputFile
    • getPath

      public String getPath()
      Specified by:
      getPath in interface org.apache.parquet.io.OutputFile
    • toString

      public String toString()
      Overrides:
      toString in class Object