Skip to main content

Class UploadOptions

java.lang.Object
com.gpudb.filesystem.upload.UploadOptions

public class UploadOptions extends Object
This class encapsulates the options that the users of the API exposed by GPUdbFileHandler class can use to set the options for the methods GPUdbFileHandler.upload(List, String, UploadOptions, FileUploadListener) and GPUdbFileHandler.upload(String, String, UploadOptions, FileUploadListener) The static method defaultOptions() can be used to retrieve the default options for upload.
  • Constructor Details

    • UploadOptions

      public UploadOptions(boolean recursive, int ttl)
      Default constructor
      Parameters:
      recursive - - indicates whether file search is recursive or not
      ttl - - indicates a ttl value for the uploaded files
  • Method Details

    • defaultOptions

      public static UploadOptions defaultOptions()
    • isRecursive

      public boolean isRecursive()
    • getTtl

      public int getTtl()