Class MeasuredInputFile

java.lang.Object
org.apache.polaris.service.catalog.io.MeasuredInputFile
All Implemented Interfaces:
org.apache.iceberg.io.InputFile

public class MeasuredInputFile extends Object implements org.apache.iceberg.io.InputFile
An InputFile wrapper that can be forced to throw exceptions.
  • Constructor Details

  • Method Details

    • getLength

      public long getLength()
      Specified by:
      getLength in interface org.apache.iceberg.io.InputFile
    • newStream

      public org.apache.iceberg.io.SeekableInputStream newStream()
      Specified by:
      newStream in interface org.apache.iceberg.io.InputFile
    • location

      public String location()
      Specified by:
      location in interface org.apache.iceberg.io.InputFile
    • exists

      public boolean exists()
      Specified by:
      exists in interface org.apache.iceberg.io.InputFile