Skip to main content

Class UploadFilesRequest.Options

java.lang.Object
com.gpudb.protocol.UploadFilesRequest.Options
Enclosing class:

public static final class UploadFilesRequest.Options extends Object
A set of string constants for the UploadFilesRequest parameter options.

Optional parameters.

  • Field Details

    • 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 utilize BASE64. 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.
      The default value is NONE.
    • BASE64

      public static final String BASE64
      Specifies that the file data being uploaded has been base64 encoded.
    • NONE

      public static final String NONE
      Default, indicates this is not a multipart upload.
    • MULTIPART_OPERATION

      public static final String 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.
      The default value is NONE.
    • INIT

      public static final String INIT
      Initialize a multipart file upload.
    • UPLOAD_PART

      public static final String UPLOAD_PART
      Uploads a part of the specified multipart file upload.
    • COMPLETE

      public static final String COMPLETE
      Complete the specified multipart file upload.
    • CANCEL

      public static final String CANCEL
      Cancel the specified multipart file upload.
    • MULTIPART_UPLOAD_UUID

      public static final String MULTIPART_UPLOAD_UUID
      UUID to uniquely identify a multipart upload.
    • 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
    • DELETE_IF_EXISTS

      public static final String DELETE_IF_EXISTS
      If TRUE, any existing files specified in fileNames will 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 is FALSE.
    • TRUE

      public static final String TRUE
    • FALSE

      public static final String FALSE