public class BroadcastVariableModelSource extends Object implements ModelSource
ModelSource implementation that reads the model from the broadcast variable.| Constructor and Description |
|---|
BroadcastVariableModelSource(String modelVariableName)
Construct a BroadcastVariableModelSource.
|
| Modifier and Type | Method and Description |
|---|---|
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 in interface ModelSourceCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.