MCPcopy Create free account
hub / github.com/baidu/bigflow / aggregate

Method aggregate

bigflow_python/python/bigflow/pcollection.py:64–82  ·  view source on GitHub ↗

等同于 :func:`bigflow.transforms.aggregate(self, aggregate_fn, combine_fn, *side_inputs, **options) ` Args: pcollection (PCollection): 输入PCollection zero (value or function): 初始值,或是一个返回初始值的方法 accumulate_fn (

(self, zero, aggregate_fn, combine_fn, *side_inputs, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

aggregateFunction · 0.80
foldFunction · 0.80
countFunction · 0.80
test_aggregate_sumMethod · 0.80
to_pobject_listFunction · 0.80

Calls

no outgoing calls

Tested by 4

test_aggregate_sumMethod · 0.64
to_pobject_listFunction · 0.64