Open hongchenme opened 10 months ago
Can I load data directly from a JAVA list object? I saw there are tutorials about loading data from persistent sources, but didn't find any example about how to convert a in-memory data, such as list or table, into Datasource in Java
If you have in memory data then you can use ListDataSource, along with a suitable function to convert your data into Example instances.
Example
Can I load data directly from a JAVA list object? I saw there are tutorials about loading data from persistent sources, but didn't find any example about how to convert a in-memory data, such as list or table, into Datasource in Java