hlivy-1.0.0: Client library for the Apache Livy REST API.

Safe HaskellNone
LanguageHaskell2010

Network.Livy.Client.Types.Session

Contents

Synopsis

Interactive sessions

data Session Source #

An interactive session with Livy.

Constructors

Session 

Fields

data SessionKind Source #

The kind of Livy session.

Constructors

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
Bounded SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

Enum SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

Eq SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

Show SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToJSON SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

FromJSON SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToText SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

data SessionState Source #

The present state of a session.

Constructors

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.

Instances
Bounded SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

Enum SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

Eq SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

Show SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToJSON SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

FromJSON SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToText SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

type SessionAppInfo = HashMap Text (Maybe Text) Source #

Detailed application information.

Lenses