pull_up_aggregation
PullUpOperator ¶
Bases: UnaryPQLOperator
, ABC
Base class for pull up operators.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpAvgOperator ¶
Bases: PullUpOperator
Pull up operator that computes mean of column.
Applies PU_AVG operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpSumOperator ¶
Bases: PullUpOperator
Pull up operator that computes sum of column.
Applies PU_SUM operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpProductOperator ¶
Bases: PullUpOperator
Pull up operator that computes product of column.
Applies PU_PRODUCT operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpCountOperator ¶
Bases: PullUpOperator
Pull up operator that computes count of column.
Applies PU_COUNT operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpCountDistinctOperator ¶
Bases: PullUpOperator
Pull up operator that computes distinct counts of column.
Applies PU_COUNT_DISTINCT operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpMinOperator ¶
Bases: PullUpOperator
Pull up operator that computes min of column.
Applies PU_MIN operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpMaxOperator ¶
Bases: PullUpOperator
Pull up operator that computes max of column.
Applies PU_MAX operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpMedianOperator ¶
Bases: PullUpOperator
Pull up operator that computes median of column.
Applies PU_MEDIAN operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpModeOperator ¶
Bases: PullUpOperator
Pull up operator that computes mode of column.
Applies PU_MODE operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.
PullUpStandardDeviationOperator ¶
Bases: PullUpOperator
Pull up operator that computes standard deviation of column.
Applies PU_STDEV operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which pull up function is applied.
-
target_table
(str
) –The table to which the aggregation result should be pulled.
-
filter_expression
(Optional[str]
, default:None
) –An optional filter expression to specify which values of the source table should be taken into account for the aggregation.