module generic.column_operator
¶
Short summary¶
module pysqllike.generic.column_operator
Creates custom classes to interpret Python expression as column operations.
Classes¶
class |
truncated documentation |
---|---|
defines an operation between two columns |
|
defines the addition |
|
defines |
|
defines the division |
|
defines the division // |
|
defines == |
|
defines a function call |
|
defines >= |
|
defines > |
|
defines a constant |
|
defines <= |
|
defines < |
|
defines the operator mod |
|
defines the multiplication |
|
defines != |
|
defines |
|
defines |
|
defines the power |
|
defines the subtraction |
Methods¶
method |
truncated documentation |
---|---|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns |
|
initiates the operator |
|
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
constructor |
|
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
|
initiates the operator |
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
|
usual |
Documentation¶
Creates custom classes to interpret Python expression as column operations.
- class pysqllike.generic.column_operator.ColumnOperator¶
Bases:
object
defines an operation between two columns
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __init__()¶
initiates the operator
- Parameters:
name – name of the column
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorAdd¶
Bases:
ColumnOperator
defines the addition
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorAnd¶
Bases:
ColumnOperator
defines
and
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorDiv¶
Bases:
ColumnOperator
defines the division
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorDivN¶
Bases:
ColumnOperator
defines the division //
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorEq¶
Bases:
ColumnOperator
defines ==
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorFunc(func)¶
Bases:
ColumnOperator
defines a function call
constructor
- __call__(columns)¶
returns the results of this operation between a list of columns
- __init__(func)¶
constructor
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorGe¶
Bases:
ColumnOperator
defines >=
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorGt¶
Bases:
ColumnOperator
defines >
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorId¶
Bases:
ColumnOperator
defines a constant
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorLe¶
Bases:
ColumnOperator
defines <=
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorLt¶
Bases:
ColumnOperator
defines <
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorMod¶
Bases:
ColumnOperator
defines the operator mod
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorMul¶
Bases:
ColumnOperator
defines the multiplication
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorNe¶
Bases:
ColumnOperator
defines !=
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorNot¶
Bases:
ColumnOperator
defines
not
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorOr¶
Bases:
ColumnOperator
defines
or
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorPow¶
Bases:
ColumnOperator
defines the power
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual
- class pysqllike.generic.column_operator.OperatorSub¶
Bases:
ColumnOperator
defines the subtraction
initiates the operator
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual