Class LoadConfig

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadConfig​(java.lang.String filePath, java.lang.Integer replication)  
    • Constructor Detail

      • LoadConfig

        public LoadConfig​(java.lang.String filePath,
                          java.lang.Integer replication)
        Parameters:
        filePath - the file path
        replication - the number of workers to store each block on, defaults to 1
    • Method Detail

      • getFilePath

        public java.lang.String getFilePath()
        Returns:
        the file path
      • getReplication

        public int getReplication()
        Returns:
        the number of workers to store each block on
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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

        public java.lang.String getName()
        Specified by:
        getName in interface JobConfig
        Returns:
        the name of the job
      • affectedPaths

        public java.util.Collection<java.lang.String> affectedPaths()
        Specified by:
        affectedPaths in interface JobConfig
        Returns:
        list of affected paths