Package com.gpudb.protocol
Class UploadFilesRequest.Options
- java.lang.Object
-
- com.gpudb.protocol.UploadFilesRequest.Options
-
- Enclosing class:
- UploadFilesRequest
public static final class UploadFilesRequest.Options extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringBASE64Specifies that the file data being uploaded has been base64 encoded.static StringCANCELCancel the specified multipart file uploadstatic StringCOMPLETEComplete the specified multipart file uploadstatic StringDELETE_IF_EXISTSstatic StringFALSEstatic StringFILE_ENCODINGEncoding that has been applied to the uploaded file data.static StringINITInitialize a multipart file uploadstatic StringMULTIPART_OPERATIONMultipart upload operation to perform.static StringMULTIPART_UPLOAD_PART_NUMBERIncremental part number for each part in a multipart upload.static StringMULTIPART_UPLOAD_UUIDUUID to uniquely identify a multipart uploadstatic StringNONEDefault, indicates this is not a multipart uploadstatic StringTRUEstatic StringUPLOAD_PARTUploads a part of the specified multipart file upload
-
-
-
Field Detail
-
FILE_ENCODING
public static final String 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:
- Constant Field Values
-
BASE64
public static final String BASE64
Specifies that the file data being uploaded has been base64 encoded.- See Also:
- Constant Field Values
-
NONE
public static final String NONE
Default, indicates this is not a multipart upload- See Also:
- Constant Field Values
-
MULTIPART_OPERATION
public static final String MULTIPART_OPERATION
Multipart upload operation to perform. Supported values:NONE: Default, indicates this is not a multipart uploadINIT: Initialize a multipart file uploadUPLOAD_PART: Uploads a part of the specified multipart file uploadCOMPLETE: Complete the specified multipart file uploadCANCEL: Cancel the specified multipart file upload
NONE.- See Also:
- Constant Field Values
-
INIT
public static final String INIT
Initialize a multipart file upload- See Also:
- Constant Field Values
-
UPLOAD_PART
public static final String UPLOAD_PART
Uploads a part of the specified multipart file upload- See Also:
- Constant Field Values
-
COMPLETE
public static final String COMPLETE
Complete the specified multipart file upload- See Also:
- Constant Field Values
-
CANCEL
public static final String CANCEL
Cancel the specified multipart file upload- See Also:
- Constant Field Values
-
MULTIPART_UPLOAD_UUID
public static final String MULTIPART_UPLOAD_UUID
UUID to uniquely identify a multipart upload- See Also:
- Constant Field Values
-
MULTIPART_UPLOAD_PART_NUMBER
public static final String MULTIPART_UPLOAD_PART_NUMBER
Incremental part number for each part in a multipart upload. Part numbers start at 1, increment by 1, and must be uploaded sequentially- See Also:
- Constant Field Values
-
DELETE_IF_EXISTS
public static final String 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:
- Constant Field Values
-
TRUE
public static final String TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
-
-