| Copyright | (C) 2019 Earnest Research |
|---|---|
| License | MIT |
| Maintainer | Daniel Donohue <ddonohue@earnestresearch.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Livy.Client.Interactive.RunStatement
Description
Synopsis
- data RunStatement = RunStatement {}
- runStatement :: SessionId -> Text -> SessionKind -> RunStatement
- rsSessionId :: Lens' RunStatement SessionId
- rsCode :: Lens' RunStatement Text
- rsKind :: Lens' RunStatement SessionKind
- newtype RunStatementResponse = RunStatementResponse {}
- rsrStatement :: Iso' RunStatementResponse Statement
The request
data RunStatement Source #
The RunStatement request object.
Constructors
| RunStatement | |
Fields
| |
Instances
| Eq RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement | |
| Show RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement Methods showsPrec :: Int -> RunStatement -> ShowS # show :: RunStatement -> String # showList :: [RunStatement] -> ShowS # | |
| LivyRequest RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement Methods request :: RunStatement -> Request Source # | |
| ToPath RunStatement Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement Methods toPath :: RunStatement -> ByteString Source # | |
| type LivyResponse RunStatement Source # | |
runStatement :: SessionId -> Text -> SessionKind -> RunStatement Source #
Creates a value of RunStatement with the minimum fields required to make a request.
Request lenses
The response
newtype RunStatementResponse Source #
The RunStatement response body.
Constructors
| RunStatementResponse | |
Fields
| |
Instances
| Eq RunStatementResponse Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement Methods (==) :: RunStatementResponse -> RunStatementResponse -> Bool # (/=) :: RunStatementResponse -> RunStatementResponse -> Bool # | |
| Show RunStatementResponse Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement Methods showsPrec :: Int -> RunStatementResponse -> ShowS # show :: RunStatementResponse -> String # showList :: [RunStatementResponse] -> ShowS # | |
| FromJSON RunStatementResponse Source # | |
Defined in Network.Livy.Client.Interactive.RunStatement Methods parseJSON :: Value -> Parser RunStatementResponse # parseJSONList :: Value -> Parser [RunStatementResponse] # | |