Package alluxio.job

Class CopyJobRequest

  • All Implemented Interfaces:
    JobRequest, java.io.Serializable

    @ThreadSafe
    public class CopyJobRequest
    extends java.lang.Object
    implements JobRequest
    The request of loading files.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CopyJobRequest​(java.lang.String src, java.lang.String dst, alluxio.grpc.CopyJobPOptions options)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDst()  
      alluxio.grpc.CopyJobPOptions getOptions()  
      java.lang.String getSrc()  
      java.lang.String getType()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CopyJobRequest

        public CopyJobRequest​(java.lang.String src,
                              java.lang.String dst,
                              alluxio.grpc.CopyJobPOptions options)
        Parameters:
        src - the source file path
        dst - the destination file path
        options - copy job options
    • Method Detail

      • getSrc

        public java.lang.String getSrc()
        Returns:
        the source file path
      • getDst

        public java.lang.String getDst()
        Returns:
        the file path
      • getOptions

        public alluxio.grpc.CopyJobPOptions getOptions()
        Returns:
        job options
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface JobRequest
        Returns:
        the type of the job