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

Safe HaskellNone
LanguageHaskell2010

Network.Livy.Client.Types.Statement

Contents

Synopsis

Statements for interactive sessions

data Statement Source #

A Statement represents the result of an execution statement.

Constructors

Statement 

Fields

data StatementState Source #

The present state of a submitted Statement.

Constructors

StatementWaiting

Statement is enqueued but execution hasn't started.

StatementRunning

Statement is currently running.

StatementAvailable

Statement has a response ready.

StatementError

Statement failed.

StatementCancelling

Statement is being cancelled.

StatementCancelled

Statement is cancelled.

Instances
Bounded StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

Enum StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

Eq StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

Show StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

ToJSON StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

FromJSON StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

ToText StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

type StatementData = HashMap Text (Maybe Text) Source #

Statement output.

Lenses