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

Function str_to_idl

bigflow_python/python/bigflow/transforms.py:1362–1380  ·  view source on GitHub ↗

对于给定的PCollection,对每条数据执行idl打包。要求输入的数据类型为str。 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 4

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

Tested by

no test coverage detected