Class RCallerOptions


  • public class RCallerOptions
    extends Object
    • Method Detail

      • create

        public static RCallerOptions create()
        Returns:
        a default RCallerOptions object
      • getrScriptExecutable

        public String getrScriptExecutable()
      • getrExecutable

        public String getrExecutable()
      • getMaxWaitTime

        public long getMaxWaitTime()
        How long this R caller will wait for the R process to terminate before forcibly killing it
        Returns:
        maxWaitTime - the max time to wait
      • getInitialWaitTime

        public long getInitialWaitTime()
      • getRetries

        public int getRetries()
      • getStartUpOptionsAsCommand

        public String getStartUpOptionsAsCommand()
      • incrementRetries

        public void incrementRetries()
      • resetRetries

        public void resetRetries()
      • useArrowIfAvailable

        public boolean useArrowIfAvailable()
        Whether we should try to use Apache Arrow for transferring output data
      • failIfArrowNotAvailable

        public boolean failIfArrowNotAvailable()
        Whether we should not use XML as backward behavior iif useArrowIfAvailable is true but Arrow is not available
      • setrScriptExecutable

        public void setrScriptExecutable​(String rScriptExecutable)
      • setrExecutable

        public void setrExecutable​(String rExecutable)
      • setFailurePolicy

        public void setFailurePolicy​(FailurePolicy failurePolicy)
      • setMaxWaitTime

        public void setMaxWaitTime​(long maxWaitTime)
      • setInitialWaitTime

        public void setInitialWaitTime​(long initialWaitTime)
      • setrProcessStartUpOptions

        public void setrProcessStartUpOptions​(RProcessStartUpOptions rProcessStartUpOptions)
      • setRetries

        public void setRetries​(int retries)
      • setUseArrowIfAvailable

        public void setUseArrowIfAvailable​(boolean useArrowIfAvailable)
      • setFailIfArrowNotAvailable

        public void setFailIfArrowNotAvailable​(boolean failIfArrowNotAvailable)