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

Function idl_to_str

bigflow_python/python/bigflow/transforms.py:1340–1359  ·  view source on GitHub ↗

对于给定的PCollection,对每条数据执行idl解包。并过滤掉idl packet类型为Heartbeat和EOF的数据。 Args: pcollection (PCollection): 输入 **options: 可配置选项 log_type: idl数据类型,目前支持log_text和log_bin,默认为log_text Returns: PCollection: 处理后的PCollection

(pcollection, **options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

IdlPacketSerdeMethod · 0.80
filterMethod · 0.80
StrSerdeMethod · 0.80
getMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected