Class LocalInputFile

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

public class LocalInputFile extends Object implements org.apache.parquet.io.InputFile
Input file implementation for local file system.
  • Constructor Details

    • LocalInputFile

      public LocalInputFile(Path file)
  • Method Details

    • getLength

      public long getLength() throws IOException
      Specified by:
      getLength in interface org.apache.parquet.io.InputFile
      Throws:
      IOException
    • newStream

      public org.apache.parquet.io.SeekableInputStream newStream() throws IOException
      Specified by:
      newStream in interface org.apache.parquet.io.InputFile
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object