Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SparkPath
- data JsonMode
- data DataSchema
- data JsonOptions
- data SourceDescription
- json' :: DataType -> String -> DataFrame
- json :: SQLTypeable a => String -> Dataset a
- jsonInfer :: SparkPath -> SparkState DataFrame
Documentation
A path to some data that can be read by Spark.
data DataSchema Source #
The schema policty with respect to a data source. It should either request Spark to infer the schema from the source, or it should try to match the source against a schema provided by the user.
data JsonOptions Source #
The options for the json input.
data SourceDescription Source #
A description of a data source, following Spark's reader API version 2.
Eeach source constists in an input source (json, xml, etc.), an optional schema for this source, and a number of options specific to this source.
Since this descriptions is rather low-level, a number of wrappers of provided for each of the most popular sources that are already built into Spark.
json' :: DataType -> String -> DataFrame Source #
Declares a source of data of the given data type.
The source is not read at this point, it is just declared. It may be found to be invalid in subsequent computations.