Interface InputFile

  • All Known Implementing Classes:
    HadoopInputFile

    public interface InputFile
    An interface used to read input files using SeekableInputStream instances.

    This class is based on Parquet's InputFile.

    • Method Detail

      • getLength

        long getLength()
        Returns:
        the total length of the file, in bytes
        Throws:
        RuntimeIOException - If the implementation throws an IOException
      • location

        java.lang.String location()
        The fully-qualified location of the input file as a String.
        Returns:
        the input file location
      • exists

        boolean exists()
        Checks whether the file exists.
        Returns:
        true if the file exists, false otherwise