Package com.gpudb.protocol
Class UploadFilesRequest.Options
java.lang.Object
com.gpudb.protocol.UploadFilesRequest.Options
Enclosing class:
A set of string constants for the
UploadFilesRequest parameter options.
Optional parameters.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSpecifies that the file data being uploaded has been base64 encoded.static final StringCancel the specified multipart file upload.static final StringComplete the specified multipart file upload.static final Stringstatic final Stringstatic final StringEncoding that has been applied to the uploaded file data.static final StringInitialize a multipart file upload.static final StringMultipart upload operation to perform.static final StringIncremental part number for each part in a multipart upload.static final StringUUID to uniquely identify a multipart upload.static final StringDefault, indicates this is not a multipart upload.static final Stringstatic final StringUploads a part of the specified multipart file upload.
Field Details
FILE_ENCODING
Encoding that has been applied to the uploaded file data. When using JSON serialization it is recommended to utilizeBASE64. The caller is responsible for encoding the data provided in this payload. Supported values:BASE64: Specifies that the file data being uploaded has been base64 encoded.NONE: The uploaded file data has not been encoded.
NONE.See Also:MULTIPART_OPERATION
Multipart upload operation to perform. Supported values:NONE: Default, indicates this is not a multipart upload.INIT: Initialize a multipart file upload.UPLOAD_PART: Uploads a part of the specified multipart file upload.COMPLETE: Complete the specified multipart file upload.CANCEL: Cancel the specified multipart file upload.
NONE.See Also:DELETE_IF_EXISTS
IfTRUE, any existing files specified infileNameswill be deleted prior to start of upload. Otherwise the file is replaced once the upload completes. Rollback of the original file is no longer possible if the upload is cancelled, aborted or fails if the file was deleted beforehand. Supported values:The default value isFALSE.See Also: