Class SparkFilePath

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SparkFilePath
    extends java.lang.Object
    implements java.io.Serializable
    A helper class to handle temporary and target paths
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SparkFilePath​(java.lang.String temporaryPath, java.lang.String targetPath)
      Default constructor
    • Constructor Detail

      • SparkFilePath

        public SparkFilePath​(java.lang.String temporaryPath,
                             java.lang.String targetPath)
        Default constructor
        Parameters:
        temporaryPath - a temporary file path
        targetPath - the target file path
    • Method Detail

      • getTargetPath

        public java.lang.String getTargetPath()
        Returns:
        the target file path
      • getTemporaryPath

        public java.lang.String getTemporaryPath()
        Returns:
        the temporary file path
      • toString

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