public class RowsModelSource extends Object implements ModelSource
ModelSource implementation that reads the model from the memory.| 构造器和说明 |
|---|
RowsModelSource(List<org.apache.flink.types.Row> modelRows)
Construct a RowsModelSource with the given rows containing a model.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ModelSourceCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.