Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

tangram (version 0.8.2)

ASTBranch: A left/right branch in an Abstract Syntrax Tree. This inherits from ASTNode, and is intended to be a base class as well. Should never be instantiated directly as once again the semantic information is contained in the class name.

Description

A left/right branch in an Abstract Syntrax Tree. This inherits from ASTNode, and is intended to be a base class as well. Should never be instantiated directly as once again the semantic information is contained in the class name.

A left/right branch in an Abstract Syntrax Tree. This inherits from ASTNode, and is intended to be a base class as well. Should never be instantiated directly as once again the semantic information is contained in the class name.

Arguments

Format

R6Class object.

Super class

tangram::ASTNode -> ASTBranch

Public fields

left

A pointer to the left node below this one

right

A pointer to the right node below this one

Methods

Inherited methods


Method distribute()

Call to distribute multiplication nodes, just recursively calls left and right node distribute functions

Usage

ASTBranch$distribute()


Method reduce()

Attached data to nodes by processing data.frame appropriatly. Recursively calls left and right nodes to reduces on data.frame

Usage

ASTBranch$reduce(df)

Arguments

df

(data.frame) Data frame to reduce over


Method clone()

The objects of this class are cloneable with this method.

Usage

ASTBranch$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.