Methods

Summary

method class parent truncated documentation
And CFT and cannot be overriden
And ColumnConstantType and cannot be overriden
And ColumnGroupType and cannot be overriden
And ColumnTableType and cannot be overriden
And ColumnType and cannot be overriden
Code TranslateClass Returns the code of the initial Python function into another language.
GroupBy Translate2Python Interprets a select statement.
Intruction TranslateClass Builds an instruction of a function based on its name and its children.
IsColumnType CFT checks it is a column type which used by an operator
IsColumnType ColumnConstantType checks it is a column type which used by an operator
IsColumnType ColumnGroupType checks it is a column type which used by an operator
IsColumnType ColumnTableType checks it is a column type which used by an operator
IsColumnType ColumnType checks it is a column type which used by an operator
Not CFT not cannot be overriden
Not ColumnConstantType not cannot be overriden
Not ColumnGroupType not cannot be overriden
Not ColumnTableType not cannot be overriden
Not ColumnType not cannot be overriden
Or CFT or cannot be overriden
Or ColumnConstantType or cannot be overriden
Or ColumnGroupType or cannot be overriden
Or ColumnTableType or cannot be overriden
Or ColumnType or cannot be overriden
RaiseCodeException TranslateClass Raises an exception when interpreting the code.
ResolveExpression TranslateClass Produces an expression based on a a node and its children.
Select TranslateClass Interprets a select statement.
Select Translate2Python Interprets a select statement.
Signature TranslateClass Build the signature of a function based on its name and its children.
Signature Translate2Python Builds the signature of a function based on its name and its children.
Where TranslateClass Interprets a select statement.
Where Translate2Python Interprets a where statement.
__add__ CFT These operators should be able to translate an expression into function operating on the values.
__add__ ColumnConstantType These operators should be able to translate an expression into function operating on the values.
__add__ ColumnGroupType forbidden
__add__ ColumnTableType These operators should be able to translate an expression into function operating on the values.
__add__ ColumnType These operators should be able to translate an expression into function operating on the values.
__add__ NA  
__add__ long  
__and__ CFT these operators should be able to translate an expression into function operating on the values
__and__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__and__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__and__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__and__ ColumnType these operators should be able to translate an expression into function operating on the values
__call__ ColumnGroupOperator returns the results of this operation between a list of columns
__call__ OperatorGroupAvg returns the results of this operation between a list of columns, it returns NA for a null set
__call__ OperatorGroupLen returns the results of this operation between a list of columns
__call__ ColumnOperator returns the results of this operation between a list of columns
__call__ OperatorAdd returns the results of this operation between a list of columns
__call__ OperatorAnd returns the results of this operation between a list of columns
__call__ OperatorDiv returns the results of this operation between a list of columns
__call__ OperatorDivN returns the results of this operation between a list of columns
__call__ OperatorEq returns the results of this operation between a list of columns
__call__ OperatorFunc returns the results of this operation between a list of columns
__call__ OperatorGe returns the results of this operation between a list of columns
__call__ OperatorGt returns the results of this operation between a list of columns
__call__ OperatorId returns the results of this operation between a list of columns
__call__ OperatorLe returns the results of this operation between a list of columns
__call__ OperatorLt returns the results of this operation between a list of columns
__call__ OperatorMod returns the results of this operation between a list of columns
__call__ OperatorMul returns the results of this operation between a list of columns
__call__ OperatorNe returns the results of this operation between a list of columns
__call__ OperatorNot returns the results of this operation between a list of columns
__call__ OperatorOr returns the results of this operation between a list of columns
__call__ OperatorPow returns the results of this operation between a list of columns
__call__ OperatorSub returns the results of this operation between a list of columns
__call__ CFT returns func(value)
__call__ ColumnConstantType return the constant
__call__ ColumnGroupType returns the content
__call__ ColumnTableType returns the content
__call__ ColumnType returns func(value)
__call__ IterRow evaluate
__div__ NA  
__div__ long  
__eq__ CFT these operators should be able to translate an expression into function operating on the values
__eq__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__eq__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__eq__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__eq__ ColumnType these operators should be able to translate an expression into function operating on the values
__float__ long  
__floordiv__ CFT These operators should be able to translate an expression into function operating on the values.
__floordiv__ ColumnConstantType These operators should be able to translate an expression into function operating on the values.
__floordiv__ ColumnGroupType forbidden
__floordiv__ ColumnTableType These operators should be able to translate an expression into function operating on the values.
__floordiv__ ColumnType These operators should be able to translate an expression into function operating on the values.
__ge__ CFT these operators should be able to translate an expression into function operating on the values
__ge__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__ge__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__ge__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__ge__ ColumnType these operators should be able to translate an expression into function operating on the values
__gt__ CFT these operators should be able to translate an expression into function operating on the values
__gt__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__gt__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__gt__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__gt__ ColumnType these operators should be able to translate an expression into function operating on the values
__init__ ColumnGroupOperator Initiates the operator.
__init__ OperatorGroupAvg Initiates the operator.
__init__ OperatorGroupLen Initiates the operator.
__init__ ColumnOperator initiates the operator
__init__ OperatorAdd initiates the operator
__init__ OperatorAnd initiates the operator
__init__ OperatorDiv initiates the operator
__init__ OperatorDivN initiates the operator
__init__ OperatorEq initiates the operator
__init__ OperatorFunc constructor
__init__ OperatorGe initiates the operator
__init__ OperatorGt initiates the operator
__init__ OperatorId initiates the operator
__init__ OperatorLe initiates the operator
__init__ OperatorLt initiates the operator
__init__ OperatorMod initiates the operator
__init__ OperatorMul initiates the operator
__init__ OperatorNe initiates the operator
__init__ OperatorNot initiates the operator
__init__ OperatorOr initiates the operator
__init__ OperatorPow initiates the operator
__init__ OperatorSub initiates the operator
__init__ CFT constructor (a function cannot accept keywords)
__init__ ColumnConstantType  
__init__ ColumnGroupType constructor
__init__ ColumnTableType constructor
__init__ ColumnType initiates the column
__init__ IterRow Initializes the iterator.
__init__ EmptyGroup  
__init__ NA  
__init__ NoSortClass any value
__init__ long  
__init__ CodeNodeVisitor constructor
__init__ TranslateClass Constructor.
__init__ Translate2Python constructor
__int__ long  
__iter__ IterRow iterator, returns this row, it always outputs a list of list
__le__ CFT these operators should be able to translate an expression into function operating on the values
__le__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__le__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__le__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__le__ ColumnType these operators should be able to translate an expression into function operating on the values
__lt__ CFT these operators should be able to translate an expression into function operating on the values
__lt__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__lt__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__lt__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__lt__ ColumnType these operators should be able to translate an expression into function operating on the values
__lt__ NoSortClass operator __lt__
__mod__ CFT these operators should be able to translate an expression into function operating on the values
__mod__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__mod__ ColumnGroupType forbidden
__mod__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__mod__ ColumnType these operators should be able to translate an expression into function operating on the values
__mul__ CFT These operators should be able to translate an expression into function operating on the values.
__mul__ ColumnConstantType These operators should be able to translate an expression into function operating on the values.
__mul__ ColumnGroupType forbidden
__mul__ ColumnTableType These operators should be able to translate an expression into function operating on the values.
__mul__ ColumnType These operators should be able to translate an expression into function operating on the values.
__mul__ NA  
__mul__ long  
__ne__ CFT these operators should be able to translate an expression into function operating on the values
__ne__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__ne__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__ne__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__ne__ ColumnType these operators should be able to translate an expression into function operating on the values
__not__ CFT these operators should be able to translate an expression into function operating on the values
__not__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__not__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__not__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__not__ ColumnType these operators should be able to translate an expression into function operating on the values
__or__ CFT these operators should be able to translate an expression into function operating on the values
__or__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__or__ ColumnGroupType these operators should be able to translate an expression into function operating on the values
__or__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__or__ ColumnType these operators should be able to translate an expression into function operating on the values
__pow__ CFT these operators should be able to translate an expression into function operating on the values
__pow__ ColumnConstantType these operators should be able to translate an expression into function operating on the values
__pow__ ColumnGroupType forbidden
__pow__ ColumnTableType these operators should be able to translate an expression into function operating on the values
__pow__ ColumnType these operators should be able to translate an expression into function operating on the values
__str__ ColumnGroupOperator usual
__str__ OperatorGroupAvg usual
__str__ OperatorGroupLen usual
__str__ ColumnOperator usual
__str__ OperatorAdd usual
__str__ OperatorAnd usual
__str__ OperatorDiv usual
__str__ OperatorDivN usual
__str__ OperatorEq usual
__str__ OperatorFunc usual
__str__ OperatorGe usual
__str__ OperatorGt usual
__str__ OperatorId usual
__str__ OperatorLe usual
__str__ OperatorLt usual
__str__ OperatorMod usual
__str__ OperatorMul usual
__str__ OperatorNe usual
__str__ OperatorNot usual
__str__ OperatorOr usual
__str__ OperatorPow usual
__str__ OperatorSub usual
__str__ CFT usual
__str__ ColumnConstantType usual
__str__ ColumnGroupType usual
__str__ ColumnTableType usual
__str__ ColumnType usual
__str__ IterRow usual
__str__ NoSortClass usual
__str__ long  
__str__ TranslateClass Returns a string representing a tree.
__sub__ CFT These operators should be able to translate an expression into function operating on the values.
__sub__ ColumnConstantType These operators should be able to translate an expression into function operating on the values.
__sub__ ColumnGroupType forbidden
__sub__ ColumnTableType These operators should be able to translate an expression into function operating on the values.
__sub__ ColumnType These operators should be able to translate an expression into function operating on the values.
__sub__ NA  
__sub__ long  
__truediv__ CFT These operators should be able to translate an expression into function operating on the values.
__truediv__ ColumnConstantType These operators should be able to translate an expression into function operating on the values.
__truediv__ ColumnGroupType forbidden
__truediv__ ColumnTableType These operators should be able to translate an expression into function operating on the values.
__truediv__ ColumnType These operators should be able to translate an expression into function operating on the values.
_findschema IterRow look for column index whose name is name
avg CFT returns a group columns to return an average
avg ColumnConstantType returns a group columns to return an average
avg ColumnGroupType returns a group columns to return an average
avg ColumnTableType returns a group columns to return an average
avg ColumnType returns a group columns to return an average
copy CFT Returns a copy of this class.
copy ColumnConstantType Returns a copy of this class.
copy ColumnGroupType Returns a copy of this class.
copy ColumnTableType Returns a copy of this class.
copy ColumnType Returns a copy of this class.
count CFT returns a group columns to count the number of observations
count ColumnConstantType returns a group columns to count the number of observations
count ColumnGroupType returns a group columns to count the number of observations
count ColumnTableType returns a group columns to count the number of observations
count ColumnType returns a group columns to count the number of observations
generic_visit CodeNodeVisitor Overrides generic_visit to check it is not used.
generic_visit_args CodeNodeVisitor Overrides generic_visit to keep track of the indentation and the node parent. The function will add field …
groupby IterRow This function applies a groupby (same behavior as SQL’s version)
init TranslateClass Parses the function code and add it the class, it complements the constructor.
interpretFunction TranslateClass Starts the interpretation of node which begins a function.
interpretReturn TranslateClass Starts the interpretation of a node which sets a return.
len CFT returns a group columns to count the number of observations
len ColumnConstantType returns a group columns to count the number of observations
len ColumnGroupType returns a group columns to count the number of observations
len ColumnTableType returns a group columns to count the number of observations
len ColumnType returns a group columns to count the number of observations
orderby IterRow This function sorts elements from an IterRow instance.
print_parent CFT Returns a string showing the dependencies of this columns. Example
print_parent ColumnConstantType Returns a string showing the dependencies of this columns. Example
print_parent ColumnGroupType Returns a string showing the dependencies of this columns. Example
print_parent ColumnTableType Returns a string showing the dependencies of this columns. Example
print_parent ColumnType Returns a string showing the dependencies of this columns. Example
print_schema IterRow calls print_parent() on each column
print_tree CodeNodeVisitor Displays the tree of instructions.
push CodeNodeVisitor Pushes an element into a list.
select IterRow This function takes an undefined number of arguments. It can be used the following way:
set CFT Sets a value for this column.
set ColumnConstantType do nothing (it is a constant)
set ColumnGroupType sets a value for this column
set ColumnTableType Sets a value for this column.
set ColumnType Sets a value for this column.
setReturn TranslateClass Indicates all nodes containing information about returned results.
setReturn Translate2Python Indicates all nodes containing information about returned results.
set_name CFT Changes the name of the column.
set_name ColumnConstantType Changes the name of the column.
set_name ColumnGroupType Changes the name of the column.
set_name ColumnTableType Changes the name of the column.
set_name ColumnType Changes the name of the column.
set_none CFT after a loop on a database, we should put None back as a value
set_none ColumnConstantType do nothing (it is a constant)
set_none ColumnGroupType after a loop on a database, we should put None back as a value
set_none ColumnTableType after a loop on a database, we should put None back as a value
set_none ColumnType After a loop on a database, we should put None back as a value.
set_owner CFT Changes the owner of the column.
set_owner ColumnConstantType Changes the owner of the column.
set_owner ColumnGroupType Changes the owner of the column.
set_owner ColumnTableType Changes the owner of the column.
set_owner ColumnType Changes the owner of the column.
to_str TranslateClass Returns a string representing a tree.
unionall IterRow Concatenates this table with another one
visit CodeNodeVisitor Visits a node, a method must exist for every object class.
visit_ CodeNodeVisitor  
visit_Assign CodeNodeVisitor  
visit_Attribute CodeNodeVisitor  
visit_BinOp CodeNodeVisitor  
visit_Call CodeNodeVisitor  
visit_Compare CodeNodeVisitor  
visit_FunctionDef CodeNodeVisitor  
visit_Gt CodeNodeVisitor  
visit_Load CodeNodeVisitor  
visit_Lt CodeNodeVisitor  
visit_Module CodeNodeVisitor  
visit_Mult CodeNodeVisitor  
visit_Name CodeNodeVisitor  
visit_Num CodeNodeVisitor  
visit_Return CodeNodeVisitor  
visit_Store CodeNodeVisitor  
visit_Str CodeNodeVisitor  
visit_arg CodeNodeVisitor  
visit_arguments CodeNodeVisitor  
visit_keyword CodeNodeVisitor  
where IterRow This function filters elements from an IterRow instance.