Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load data from List obj in memory #349

Open
hongchenme opened this issue Sep 2, 2023 · 1 comment
Open

Load data from List obj in memory #349

hongchenme opened this issue Sep 2, 2023 · 1 comment
Labels
question General question

Comments

@hongchenme
Copy link

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

@hongchenme hongchenme added the question General question label Sep 2, 2023
@Craigacp
Copy link
Member

Craigacp commented Sep 2, 2023

If you have in memory data then you can use ListDataSource, along with a suitable function to convert your data into Example instances.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question
Projects
None yet
Development

No branches or pull requests

2 participants