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

Safe HaskellSafe
LanguageHaskell2010

Network.Livy.Internal.Text

Synopsis

Documentation

class ToText a where Source #

Methods

toText :: a -> Text Source #

Instances
ToText Int Source # 
Instance details

Defined in Network.Livy.Internal.Text

Methods

toText :: Int -> Text Source #

ToText ByteString Source # 
Instance details

Defined in Network.Livy.Internal.Text

ToText Text Source # 
Instance details

Defined in Network.Livy.Internal.Text

Methods

toText :: Text -> Text Source #

ToText StatementState Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

ToText StatementId Source # 
Instance details

Defined in Network.Livy.Client.Types.Statement

ToText SessionId Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToText SessionState Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToText SessionKind Source # 
Instance details

Defined in Network.Livy.Client.Types.Session

ToText BatchState Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

ToText BatchId Source # 
Instance details

Defined in Network.Livy.Client.Types.Batch

Methods

toText :: BatchId -> Text Source #

ToText a => ToText (Maybe a) Source # 
Instance details

Defined in Network.Livy.Internal.Text

Methods

toText :: Maybe a -> Text Source #

toTextLookup :: (Bounded a, Enum a, ToText a) => [(Text, a)] Source #

Create a mapping of a value with its textual representation.