krapsh-0.1.6.1: Haskell bindings for Spark Dataframes and Datasets

Safe HaskellNone
LanguageHaskell2010

Spark.Core.Internal.ContextStructures

Synopsis

Documentation

data SparkSessionConf Source #

The configuration of a remote spark session in krapsh.

Constructors

SparkSessionConf 

Fields

  • confEndPoint :: !Text

    The URL of the end point.

  • confPort :: !Int

    The port used to configure the end point.

  • confPollingIntervalMillis :: !Int

    (internal) the polling interval

  • confRequestedSessionName :: !Text

    (optional) the requested name of the session. This name must obey a number of rules: - it must consist in alphanumerical and -,_: [a-zA-Z0-9-_] - if it already exists on the server, it will be reconnected to

    The default value is "" (a new random context name will be chosen).

data SparkSession Source #

A session in Spark. Encapsualates all the state needed to communicate with Spark and to perfor some simple optimizations on the code.

Constructors

SparkSession 

Fields

type SparkState a = LoggingT (StateT SparkSession IO) a Source #

Represents the state of a session and accounts for the communication with the server.

type ComputeGraph = ComputeDag UntypedNode StructureEdge Source #

internal

A graph of computations. This graph is a direct acyclic graph. Each node is associated to a global path.