public class RowsModelSource extends Object implements ModelSource
ModelSource implementation that reads the model from the memory.| Constructor and Description |
|---|
RowsModelSource(List<org.apache.flink.types.Row> modelRows)
Construct a RowsModelSource with the given rows containing a model.
|
| 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 RowsModelSource(List<org.apache.flink.types.Row> modelRows)
modelRows - The rows that contains a model.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.