Class GCSOutputFile

  • All Implemented Interfaces:

    public class GCSOutputFile
    extends java.lang.Object
    implements OutputFile
    • Method Detail

      • fromLocation

        public static GCSOutputFile fromLocation​(java.lang.String location,
                                                 GCPProperties gcpProperties)
      • create

        public PositionOutputStream create()
        Create an output stream for the specified location if the target object does not exist in GCS at the time of invocation.
        Specified by:
        create in interface OutputFile
        output stream
      • toInputFile

        public InputFile toInputFile()
        Description copied from interface: OutputFile
        Return an InputFile for the location of this output file.
        Specified by:
        toInputFile in interface OutputFile
        an input file for the location of this output file
      • location

        public java.lang.String location()
      • exists

        public boolean exists()
      • getBlob

        protected getBlob()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object