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

CSV Input Adapter with immutable events #11

Open
andyflury opened this issue Jul 1, 2015 · 1 comment
Open

CSV Input Adapter with immutable events #11

andyflury opened this issue Jul 1, 2015 · 1 comment

Comments

@andyflury
Copy link

According to Esper IO documentation (http://www.espertech.com/esper/release-5.2.0/esperio-reference/html/adapter_file.html#csv-step-1) the CSVInputAdapter can only handle POJO events.

It would be nice to be able to use Immutable Objects (with final fields, Constructior and getter only).

Example:

private final BigDecimal open;
private final BigDecimal high;
private final BigDecimal low;
private final BigDecimal close;

public BarVO(BigDecimal open, BigDecimal high, BigDecimal low, BigDecimal close) {
    this.open = open;
    this.high = high;
    this.low = low;
    this.close = close;
}
@icholy
Copy link
Contributor

icholy commented Apr 18, 2020

The link is broken.

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

No branches or pull requests

3 participants