public class BroadcastVariableModelSource extends Object implements ModelSource
ModelSource implementation that reads the model from the broadcast variable.| 构造器和说明 |
|---|
BroadcastVariableModelSource(String modelVariableName)
Construct a BroadcastVariableModelSource.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.apache.flink.types.Row> |
getModelRows(org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
Get the rows that containing the model.
|
public BroadcastVariableModelSource(String modelVariableName)
modelVariableName - The name of the broadcast variable that hosts a
BroadcastVariableModelSource.public List<org.apache.flink.types.Row> getModelRows(org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
ModelSourcegetModelRows 在接口中 ModelSourceCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.