Class S3InitiateMultipartUploadResponseWithFSO


public class S3InitiateMultipartUploadResponseWithFSO extends S3InitiateMultipartUploadResponse
Response for S3 Initiate Multipart Upload request for prefix layout.
  • Constructor Details

    • S3InitiateMultipartUploadResponseWithFSO

      public S3InitiateMultipartUploadResponseWithFSO(@Nonnull org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse, @Nonnull org.apache.hadoop.ozone.om.helpers.OmMultipartKeyInfo omMultipartKeyInfo, @Nonnull org.apache.hadoop.ozone.om.helpers.OmKeyInfo omKeyInfo, @Nonnull String mpuDBKey, @Nonnull List<org.apache.hadoop.ozone.om.helpers.OmDirectoryInfo> parentDirInfos, @Nonnull org.apache.hadoop.ozone.om.helpers.BucketLayout bucketLayout, @Nonnull long volumeId, @Nonnull long bucketId, @Nonnull org.apache.hadoop.ozone.om.helpers.OmBucketInfo omBucketInfo)
    • S3InitiateMultipartUploadResponseWithFSO

      public S3InitiateMultipartUploadResponseWithFSO(@Nonnull org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse, @Nonnull org.apache.hadoop.ozone.om.helpers.BucketLayout bucketLayout)
      For when the request is not successful. For a successful request, the other constructor should be used.
  • Method Details

    • addToDBBatch

      public void addToDBBatch(org.apache.hadoop.ozone.om.OMMetadataManager omMetadataManager, org.apache.hadoop.hdds.utils.db.BatchOperation batchOperation) throws IOException
      Description copied from class: OMClientResponse
      Implement logic to add the response to batch. This function should be called from checkAndUpdateDB only.
      Overrides:
      addToDBBatch in class S3InitiateMultipartUploadResponse
      Throws:
      IOException