Arun Allamsetty created LIVY-415:
------------------------------------

             Summary: Use objects and abstract classes in for Kind and 
SessionState.
                 Key: LIVY-415
                 URL: https://issues.apache.org/jira/browse/LIVY-415
             Project: Livy
          Issue Type: Improvement
            Reporter: Arun Allamsetty
            Priority: Trivial


Scala lets us define Singleton Objects 
(https://docs.scala-lang.org/tour/singleton-objects.html) rather than creating 
(case) classes and which just have a default constructor. Also, using abstract 
classes helps with brevity in this case as we can assign default definitions to 
the functions we need.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to