You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Arun Allamsetty (JIRA)" <ji...@apache.org> on 2017/11/13 15:34:01 UTC
[jira] [Created] (LIVY-415) Use objects and abstract classes in for
Kind and SessionState.
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)