Class IcebergFileIOMocking.WrappedOutputFile

  • All Implemented Interfaces:
    org.apache.iceberg.io.OutputFile
    Enclosing class:
    IcebergFileIOMocking

    public static final class IcebergFileIOMocking.WrappedOutputFile
    extends java.lang.Object
    implements org.apache.iceberg.io.OutputFile
    • Constructor Summary

      Constructors 
      Constructor Description
      WrappedOutputFile​(java.lang.String location)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] asBytes()  
      org.apache.iceberg.io.PositionOutputStream create()  
      org.apache.iceberg.io.PositionOutputStream createOrOverwrite()  
      java.lang.String location()  
      org.apache.iceberg.io.InputFile toInputFile()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WrappedOutputFile

        public WrappedOutputFile​(java.lang.String location)
    • Method Detail

      • create

        public org.apache.iceberg.io.PositionOutputStream create()
        Specified by:
        create in interface org.apache.iceberg.io.OutputFile
      • createOrOverwrite

        public org.apache.iceberg.io.PositionOutputStream createOrOverwrite()
        Specified by:
        createOrOverwrite in interface org.apache.iceberg.io.OutputFile
      • location

        public java.lang.String location()
        Specified by:
        location in interface org.apache.iceberg.io.OutputFile
      • toInputFile

        public org.apache.iceberg.io.InputFile toInputFile()
        Specified by:
        toInputFile in interface org.apache.iceberg.io.OutputFile
      • asBytes

        public byte[] asBytes()