[
https://issues.apache.org/jira/browse/S4-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142726#comment-13142726
]
Leo Neumeyer commented on S4-21:
--------------------------------
What do you think of the following API for MapEvent:
package org.apache.s4.base;
public class MapEvent extends Event {
public <T> void put(Class<T> type, String name, T value) {
}
public <T> T get(String name) {
T x = null;
// get object.
// throw exception if type doesn't match.
return x;
}
}
> Create standard PEs, and Event classes
> --------------------------------------
>
> Key: S4-21
> URL: https://issues.apache.org/jira/browse/S4-21
> Project: Apache S4
> Issue Type: Improvement
> Reporter: Leo Neumeyer
> Priority: Minor
>
> We should provide some reusable classes such as JoinPE and a MapEvent. The
> MapEvent is a schema-less reusable event class.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira