public class StringIndexerModelData extends Object
StringIndexerModel
and IndexToStringModel
.
This class also provides methods to convert model data from Table to DataStream, and classes to save/load model data.
Modifier and Type | Class and Description |
---|---|
static class |
StringIndexerModelData.ModelDataDecoder
Data decoder for
StringIndexerModel and IndexToStringModel . |
static class |
StringIndexerModelData.ModelDataEncoder
Data encoder for
StringIndexerModel and IndexToStringModel . |
Modifier and Type | Field and Description |
---|---|
String[][] |
stringArrays
Ordered strings of each input column.
|
Constructor and Description |
---|
StringIndexerModelData() |
StringIndexerModelData(String[][] stringArrays) |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.streaming.api.datastream.DataStream<StringIndexerModelData> |
getModelDataStream(org.apache.flink.table.api.Table modelData)
Converts the table model to a data stream.
|
public String[][] stringArrays
public StringIndexerModelData(String[][] stringArrays)
public StringIndexerModelData()
public static org.apache.flink.streaming.api.datastream.DataStream<StringIndexerModelData> getModelDataStream(org.apache.flink.table.api.Table modelData)
modelData
- The table model data.Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.