Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Session = Session {
- _sId :: !SessionId
- _sAppId :: !(Maybe Text)
- _sOwner :: !(Maybe Text)
- _sProxyUser :: !(Maybe Text)
- _sKind :: !SessionKind
- _sLog :: ![Text]
- _sState :: !SessionState
- _sAppInfo :: !SessionAppInfo
- newtype SessionId = SessionId Int
- data SessionKind
- data SessionState
- type SessionAppInfo = HashMap Text (Maybe Text)
- sId :: Lens' Session SessionId
- sAppId :: Lens' Session (Maybe Text)
- sOwner :: Lens' Session (Maybe Text)
- sProxyUser :: Lens' Session (Maybe Text)
- sKind :: Lens' Session SessionKind
- sLog :: Lens' Session [Text]
- sState :: Lens' Session SessionState
- sAppInfo :: Lens' Session SessionAppInfo
Interactive sessions
An interactive session with Livy.
Session | |
|
The id of this interactive session.
data SessionKind Source #
The kind of Livy session.
SparkSession | A Scala Spark session. |
PySparkSession | A PySpark session. |
SparkRSession | A SparkR session. |
SQLSession | A Spark SQL session. |
SharedSession | A session that supports all types. |
Instances
data SessionState Source #
The present state of a session.
SessionNotStarted | Session has not been started. |
SessionStarting | Session is starting. |
SessionRecovering | Session is recovering. |
SessionIdle | Session is waiting for input. |
SessionRunning | Session is running. |
SessionBusy | Session is executing a statement. |
SessionShuttingDown | Session is shutting down. |
SessionError | Session errored out. |
SessionDead | Session has exited. |
SessionKilled | Session is killed. |
SessionSuccess | Session is successfully stopped. |