Modifier and Type | Method and Description |
---|---|
static <T> InputFormat<T,?> |
getCollectionInputFormat(List<T> data,
TypeInformation<T> dataType,
ExecutionConfig config)
Wrap the unpickled python data with an InputFormat.
|
static InputFormat<Row,?> |
getInputFormat(List<Object[]> data,
TypeInformation<Row> dataType,
ExecutionConfig config)
Wrap the unpickled python data with an InputFormat.
|
public static InputFormat<Row,?> getInputFormat(List<Object[]> data, TypeInformation<Row> dataType, ExecutionConfig config)
data
- The unpickled python data.dataType
- The python data type.config
- The execution config used to create serializer.public static <T> InputFormat<T,?> getCollectionInputFormat(List<T> data, TypeInformation<T> dataType, ExecutionConfig config)
data
- The unpickled python data.dataType
- The python data type.config
- The execution config used to create serializer.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.