Package 

Interface StreamingObjectPutParams

  • All Implemented Interfaces:
    org.veupathdb.lib.s3.s34k.params.RegionRequestParams , org.veupathdb.lib.s3.s34k.params.S3RequestParams , org.veupathdb.lib.s3.s34k.params.object.ObjectPutParams , org.veupathdb.lib.s3.s34k.params.object.ObjectWriteParams

    
    public interface StreamingObjectPutParams
     implements ObjectPutParams
                        

    Object put via InputStream operation parameters.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract InputStream getStream() Required InputStream over the data that will be written to the object in the S3 store.
      abstract Unit setStream(InputStream stream) Required InputStream over the data that will be written to the object in the S3 store.
      abstract Long getLength() Size of the object being written to the S3 store.
      abstract Unit setLength(Long length) Size of the object being written to the S3 store.
      abstract Integer getPartSize() Max chunk size to send in a single request to the S3 store.
      abstract Unit setPartSize(Integer partSize) Max chunk size to send in a single request to the S3 store.
      • Methods inherited from class org.veupathdb.lib.s3.s34k.params.object.ObjectPutParams

        getCallback, getContentType, setCallback, setContentType
      • Methods inherited from class org.veupathdb.lib.s3.s34k.params.object.ObjectWriteParams

        getTags
      • Methods inherited from class org.veupathdb.lib.s3.s34k.params.RegionRequestParams

        getRegion, setRegion
      • Methods inherited from class org.veupathdb.lib.s3.s34k.params.S3RequestParams

        getHeaders, getQueryParams
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getLength

         abstract Long getLength()

        Size of the object being written to the S3 store.

        If this size is unknown, set this value to -1.

        Defaults to -1.

      • setLength

         abstract Unit setLength(Long length)

        Size of the object being written to the S3 store.

        If this size is unknown, set this value to -1.

        Defaults to -1.

      • getPartSize

         abstract Integer getPartSize()

        Max chunk size to send in a single request to the S3 store.

        Defaults to 10MiB.

      • setPartSize

         abstract Unit setPartSize(Integer partSize)

        Max chunk size to send in a single request to the S3 store.

        Defaults to 10MiB.