You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2017/11/15 03:44:00 UTC

[jira] [Updated] (LIVY-415) Use objects and abstract classes in for Kind and SessionState.

     [ https://issues.apache.org/jira/browse/LIVY-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saisai Shao updated LIVY-415:
-----------------------------
    Component/s: Server
                 REPL

> 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
>          Components: REPL, Server
>            Reporter: Arun Allamsetty
>            Priority: Trivial
>             Fix For: 0.5.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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)