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<Row> |
getModelRows(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<Row> getModelRows(RuntimeContext runtimeContext)
ModelSource
getModelRows
in interface ModelSource
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.