Interface PulsarJobBase

  • All Implemented Interfaces:

    
    public interface PulsarJobBase
    
                        

    Hadoop's MapReduce support

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Map<String, Object> run(Params params)
      abstract Boolean stopJob() Stop the job with the possibility to resume.
      abstract Boolean killJob() Kill the job immediately.
      abstract Map<String, Object> getStatus()
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • stopJob

         abstract Boolean stopJob()

        Stop the job with the possibility to resume. Subclasses should override this, since by default it calls .killJob.

        Returns:

        true if succeeded, false otherwise

      • killJob

         abstract Boolean killJob()

        Kill the job immediately. Clients should assume that any results that the job produced so far are in inconsistent state or missing.

        Returns:

        true if succeeded, false otherwise.