dataframe-0.7.0.0: A fast, safe, and intuitive DataFrame library.
Safe HaskellNone
LanguageHaskell2010

DataFrame.Lazy.Internal.LogicalPlan

Synopsis

Documentation

data DataSource Source #

Data source for a scan node.

Constructors

CsvSource FilePath Char

path, separator

ParquetSource FilePath 

Instances

Instances details
Show DataSource Source # 
Instance details

Defined in DataFrame.Lazy.Internal.LogicalPlan

data SortOrder Source #

Sort direction used in Sort nodes and the public API.

Constructors

Ascending 
Descending 

data LogicalPlan Source #

Relational-algebra tree that represents what the query computes. No physical decisions (batch size, join strategy) are made here.

Constructors

Scan DataSource Schema

Read columns described by the schema from a source.

Project [Text] LogicalPlan

Retain only the listed columns.

Filter (Expr Bool) LogicalPlan

Keep rows matching the predicate.

Derive Text UExpr LogicalPlan

Add or overwrite a column via an expression.

Join JoinType Text Text LogicalPlan LogicalPlan

Join two sub-plans on the given key columns.

Aggregate [Text] [(Text, UExpr)] LogicalPlan

Group then aggregate.

Sort [(Text, SortOrder)] LogicalPlan

Sort by a list of (column, direction) pairs.

Limit Int LogicalPlan

Retain at most N rows.

SourceDF DataFrame

Lift an already-loaded DataFrame into the lazy plan.

Instances

Instances details
Show LogicalPlan Source # 
Instance details

Defined in DataFrame.Lazy.Internal.LogicalPlan