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

Safe HaskellNone
LanguageHaskell2010

Network.Livy.Client.Types.Batch

Contents

Synopsis

Batch sessions

data Batch Source #

A batch session with Livy.

Constructors

Batch 

Fields

Instances
Eq Batch Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

Methods

(==) :: Batch -> Batch -> Bool #

(/=) :: Batch -> Batch -> Bool #

Show Batch Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

Methods

showsPrec :: Int -> Batch -> ShowS #

show :: Batch -> String #

showList :: [Batch] -> ShowS #

ToJSON Batch Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

FromJSON Batch Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

newtype BatchId Source #

The id of this batch session.

Constructors

BatchId Int 

data BatchState Source #

The present state of a batch session.

Constructors

BatchNotStarted

Batch session has not been started.

BatchStarting

Batch session is starting.

BatchRecovering

Batch session is recovering.

BatchIdle

Batch session is waiting for input.

BatchRunning

Batch session is running.

BatchBusy

Batch session is executing a statement.

BatchShuttingDown

Batch session is shutting down.

BatchError

Batch session errored out.

BatchDead

Batch session has exited.

BatchKilled

Batch session is killed.

BatchSuccess

Batch session is successfully stopped.

Instances
Bounded BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

Enum BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

Eq BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

Show BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

ToJSON BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

FromJSON BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

ToText BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

type BatchAppInfo = HashMap Text (Maybe Text) Source #

Detailed application information.

Lenses