Class LocalOutputFile

java.lang.Object
org.gridgain.internal.sql.copy.parquet.LocalOutputFile
All Implemented Interfaces:
org.apache.parquet.io.OutputFile

public class LocalOutputFile extends Object implements org.apache.parquet.io.OutputFile
Output file implementation for local file system.
  • Constructor Details

    • LocalOutputFile

      public LocalOutputFile(Path file)
  • Method Details

    • create

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

      public org.apache.parquet.io.PositionOutputStream createOrOverwrite(long buffer) 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