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

Copyright(C) 2019 Earnest Research
LicenseMIT
MaintainerDaniel Donohue <ddonohue@earnestresearch.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Network.Livy.Types

Contents

Description

 
Synopsis

Request/response types

class LivyRequest a where Source #

Specify how a request is created.

Methods

request :: a -> Request Source #

Instances
LivyRequest RunStatementCompletion Source # 
Instance details

Defined in Network.Livy.Client.Interactive.RunStatementCompletion

LivyRequest RunStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.RunStatement

LivyRequest KillSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.KillSession

LivyRequest GetSessions Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessions

LivyRequest GetSessionStatements Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionStatements

LivyRequest GetSessionStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionStatement

LivyRequest GetSessionState Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionState

LivyRequest GetSessionLogs Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionLogs

LivyRequest GetSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSession

LivyRequest CreateSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.CreateSession

LivyRequest CancelStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.CancelStatement

LivyRequest KillBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.KillBatch

LivyRequest GetBatches Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatches

LivyRequest GetBatchState Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatchState

LivyRequest GetBatchLogs Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatchLogs

LivyRequest GetBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatch

LivyRequest CreateBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.CreateBatch

type family LivyResponse a :: * Source #

The response type of a Livy request.

Instances
type LivyResponse RunStatementCompletion Source # 
Instance details

Defined in Network.Livy.Client.Interactive.RunStatementCompletion

type LivyResponse RunStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.RunStatement

type LivyResponse KillSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.KillSession

type LivyResponse GetSessions Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessions

type LivyResponse GetSessionStatements Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionStatements

type LivyResponse GetSessionStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionStatement

type LivyResponse GetSessionState Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionState

type LivyResponse GetSessionLogs Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionLogs

type LivyResponse GetSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSession

type LivyResponse CreateSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.CreateSession

type LivyResponse CancelStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.CancelStatement

type LivyResponse KillBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.KillBatch

type LivyResponse GetBatches Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatches

type LivyResponse GetBatchState Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatchState

type LivyResponse GetBatchLogs Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatchLogs

type LivyResponse GetBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatch

type LivyResponse CreateBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.CreateBatch

class ToPath a where Source #

Specify how a value is converted to a URL fragment.

Methods

toPath :: a -> ByteString Source #

Instances
ToPath Text Source # 
Instance details

Defined in Network.Livy.Types

ToPath RunStatementCompletion Source # 
Instance details

Defined in Network.Livy.Client.Interactive.RunStatementCompletion

ToPath RunStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.RunStatement

ToPath KillSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.KillSession

ToPath GetSessions Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessions

ToPath GetSessionStatements Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionStatements

ToPath GetSessionStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionStatement

ToPath GetSessionState Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionState

ToPath GetSessionLogs Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSessionLogs

ToPath GetSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.GetSession

ToPath CreateSession Source # 
Instance details

Defined in Network.Livy.Client.Interactive.CreateSession

ToPath CancelStatement Source # 
Instance details

Defined in Network.Livy.Client.Interactive.CancelStatement

ToPath KillBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.KillBatch

ToPath GetBatches Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatches

ToPath GetBatchState Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatchState

ToPath GetBatchLogs Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatchLogs

ToPath GetBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.GetBatch

ToPath CreateBatch Source # 
Instance details

Defined in Network.Livy.Client.Batch.CreateBatch

ToPath a => ToPath [a] Source # 
Instance details

Defined in Network.Livy.Types

Methods

toPath :: [a] -> ByteString Source #

class ToQuery a where Source #

Specify how a value is converted to a collection of query parameters.

Methods

toQueryString :: a -> Query Source #

Exceptions

Lenses