hadoop-rpc-1.0.0.0: Use the Hadoop RPC interface from Haskell.

Safe HaskellNone
LanguageHaskell2010

Network.Hadoop.Rpc

Documentation

data Connection Source

Constructors

Connection 

Fields

cnVersion :: !Int
 
cnConfig :: !HadoopConfig
 
cnProtocol :: !Protocol
 
invokeRaw :: !(Method -> RawRequest -> (RawResponse -> IO ()) -> IO ())
 

data Protocol Source

Constructors

Protocol 

Fields

prName :: !Text
 
prVersion :: !Int
 

invokeAsync :: (Decode b, Encode a) => Connection -> Text -> a -> (Either SomeException b -> IO ()) -> IO () Source

invoke :: (Decode b, Encode a) => Connection -> Text -> a -> IO b Source