napkin-0.5.12
Safe HaskellNone
LanguageHaskell2010

Napkin.Types.Deps

Synopsis

Documentation

class HasDeps a where #

Class of things that have external table dependencies

Instances

Instances details
HasDeps Query # 
Instance details

Defined in Napkin.Types.Deps

HasDeps From # 
Instance details

Defined in Napkin.Types.Deps

HasDeps Relation # 
Instance details

Defined in Napkin.Types.Deps

HasDeps SExp # 
Instance details

Defined in Napkin.Types.Deps

HasDeps ML_Predict # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

HasDeps CreateModel # 
Instance details

Defined in Napkin.Types.Commands.BigQuery

HasDeps a => HasDeps [a] # 
Instance details

Defined in Napkin.Types.Deps

HasDeps a => HasDeps (Selected a) # 
Instance details

Defined in Napkin.Types.Deps

HasDeps (CreateTableAs m) # 
Instance details

Defined in Napkin.Spec.Types

HasDeps (Ref Table) # 
Instance details

Defined in Napkin.Types.Deps

(^...) :: Ord a => s -> Getting (Endo (Set a)) s a -> Set a #

queryDependencies :: Data s => Fold s (Ref Table) #

Figure out external table dependencies within a construct - e.g. Query or one of the commands.

rawRelation :: HasDeps s => (s -> String) -> s -> Relation #

Extract deps from object, render to string and wrap into a RawRelation