class S3InitiateMultipartUploadResponse extends OMClientResponse {

  @Override
  public void addToDBBatch(OMMetadataManager omMetadataManager,
      BatchOperation batchOperation) throws IOException {

    String multipartKey =
        omMetadataManager.getMultipartKey(omKeyInfo.getVolumeName(),
            omKeyInfo.getBucketName(), omKeyInfo.getKeyName(),
            omMultipartKeyInfo.getUploadID());

    omMetadataManager.getOpenKeyTable().putWithBatch(batchOperation,
        multipartKey, omKeyInfo);
    omMetadataManager.getMultipartInfoTable().putWithBatch(batchOperation,
        multipartKey, omMultipartKeyInfo);
  }

  public  S3InitiateMultipartUploadResponse(
      @Nonnull OMResponse omResponse,
      @Nonnull OmMultipartKeyInfo omMultipartKeyInfo,
      @Nonnull OmKeyInfo omKeyInfo);
  public  S3InitiateMultipartUploadResponse(@Nonnull OMResponse omResponse);

}