Skip to content

arithmetic

IsNullOperator

Bases: UnaryPQLOperator

Computes whether values are null.

Applies ISNULL operator to column.

query_string property

query_string: str

Returns query string.

AddOperator

Bases: BinaryPQLOperator

Add operator that adds all operands.

Applies ADD operator to column.

query_string property

query_string: str

Returns query string.

SubtractOperator

Bases: BinaryPQLOperator

Subtraction operator that subtracts all operands.

Applies SUB operator to column.

query_string property

query_string: str

Returns query string.

MultiplyOperator

Bases: BinaryPQLOperator

Multiply operator that multiplies all operands.

Applies MULT operator to column.

query_string property

query_string: str

Returns query string.

DivideOperator

Bases: BinaryPQLOperator

Divide operator that divides all operands.

Applies DIV operator to column.

query_string property

query_string: str

Returns query string.

ModuloOperator

Bases: BinaryPQLOperator

Modulo operator that takes modulo of all operands.

Applies MODULO operator to column.

query_string property

query_string: str

Returns query string.

FloorDivisionOperator

Bases: BinaryPQLOperator

Floor division operator that applies floor division to all operands.

Applies FLOOR operator and DIV operator to column.

query_string property

query_string: str

Returns query string.

PowerOperator

Bases: BinaryPQLOperator

Power operator that raises the left operand to the power of the right operand.

Applies POWER operator to column.

query_string property

query_string: str

Returns query string.

AbsOperator

Bases: UnaryPQLOperator

Operator that computes the absolute value of a series.

Applies ABS operator to column.

query_string property

query_string: str

Returns query string.

InverseOperator

Bases: UnaryPQLOperator

Operator that computes the inverse value of a series.

Applies INVERSE operator to column.

query_string property

query_string: str

Returns query string.

RoundOperator

RoundOperator(operand, decimals=0)

Bases: UnaryPQLOperator

Operator that rounds the value of a series.

Applies ROUND operator to column.

Parameters:

  • operand (Union[ScalarValue, PQLOperator]) –

    Operand to which round operator is applied.

  • decimals (int) –

    Number of decimals.

query_string property

query_string: str

Returns query string.