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

use aggregated parameter object #8

Closed
CXwudi opened this issue Apr 3, 2021 · 3 comments
Closed

use aggregated parameter object #8

CXwudi opened this issue Apr 3, 2021 · 3 comments

Comments

@CXwudi
Copy link
Owner

CXwudi commented Apr 3, 2021

instead of thinking about what parameters does each method need, just uniformly make methods receive and output a giant parameter object only. Each module will have their own parameter object, and it contains anythings needed to process one data through the entire batch processing procedure

@CXwudi
Copy link
Owner Author

CXwudi commented May 29, 2021

such parameters will be included in a class is called VSongContent, it also two fields: label and parameter.
label contains everything in #2, parameter is the aggregated parameter object

@CXwudi
Copy link
Owner Author

CXwudi commented Sep 29, 2021

parameter in kotlin should implement as a data class with each field is var fieldName: Type? = null (reason: can isolate as much as processing logic away from RecordReader)

@CXwudi
Copy link
Owner Author

CXwudi commented Jan 6, 2023

done as #21 done

@CXwudi CXwudi closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant