| 程序包 | 说明 |
|---|---|
| org.apache.flink.ml.common | |
| org.apache.flink.ml.common.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static MLEnvironment |
MLEnvironmentFactory.get(Long mlEnvId)
Get the MLEnvironment using a MLEnvironmentId.
|
static MLEnvironment |
MLEnvironmentFactory.getDefault()
Get the MLEnvironment use the default MLEnvironmentId.
|
static MLEnvironment |
MLEnvironmentFactory.remove(Long mlEnvId)
Remove the MLEnvironment using the MLEnvironmentId.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Long |
MLEnvironmentFactory.registerMLEnvironment(MLEnvironment env)
Register a new MLEnvironment to the factory and return a new MLEnvironment id.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.flink.table.api.Table |
DataSetConversionUtil.toTable(MLEnvironment session,
org.apache.flink.api.java.DataSet<org.apache.flink.types.Row> data,
String[] colNames)
Convert the given DataSet into a Table with specified colNames.
|
static org.apache.flink.table.api.Table |
DataSetConversionUtil.toTable(MLEnvironment session,
org.apache.flink.api.java.DataSet<org.apache.flink.types.Row> data,
String[] colNames,
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] colTypes)
Convert the given DataSet into a Table with specified colNames and colTypes.
|
static org.apache.flink.table.api.Table |
DataStreamConversionUtil.toTable(MLEnvironment session,
org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.types.Row> data,
String[] colNames)
Convert the given DataStream to Table with specified colNames.
|
static org.apache.flink.table.api.Table |
DataStreamConversionUtil.toTable(MLEnvironment session,
org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.types.Row> data,
String[] colNames,
org.apache.flink.api.common.typeinfo.TypeInformation<?>[] colTypes)
Convert the given DataStream to Table with specified colNames and colTypes.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.