module generic.column_operator

Inheritance diagram of pysqllike.generic.column_operator

Short summary

module pysqllike.generic.column_operator

Creates custom classes to interpret Python expression as column operations.

source on GitHub

Classes

class

truncated documentation

ColumnOperator

defines an operation between two columns

OperatorAdd

defines the addition

OperatorAnd

defines and

OperatorDiv

defines the division

OperatorDivN

defines the division //

OperatorEq

defines ==

OperatorFunc

defines a function call

OperatorGe

defines >=

OperatorGt

defines >

OperatorId

defines a constant

OperatorLe

defines <=

OperatorLt

defines <

OperatorMod

defines the operator mod

OperatorMul

defines the multiplication

OperatorNe

defines !=

OperatorNot

defines not

OperatorOr

defines or

OperatorPow

defines the power

OperatorSub

defines the subtraction

Methods

method

truncated documentation

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

constructor

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__init__

initiates the operator

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

__str__

usual

Documentation

Creates custom classes to interpret Python expression as column operations.

source on GitHub

class pysqllike.generic.column_operator.ColumnOperator[source]

Bases: object

defines an operation between two columns

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__init__()[source]

initiates the operator

Parameters

name – name of the column

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorAdd[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the addition

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorAnd[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines and

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorDiv[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the division

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorDivN[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the division //

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorEq[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines ==

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorFunc(func)[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines a function call

source on GitHub

constructor

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__init__(func)[source]

constructor

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorGe[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines >=

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorGt[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines >

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorId[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines a constant

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorLe[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines <=

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorLt[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines <

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorMod[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the operator mod

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorMul[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the multiplication

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorNe[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines !=

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorNot[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines not

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorOr[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines or

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorPow[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the power

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub

class pysqllike.generic.column_operator.OperatorSub[source]

Bases: pysqllike.generic.column_operator.ColumnOperator

defines the subtraction

source on GitHub

initiates the operator

Parameters

name – name of the column

source on GitHub

__call__(columns)[source]

returns the results of this operation between a list of columns

source on GitHub

__str__()[source]

usual

source on GitHub