public abstract class ClassSerialization extends Object
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
clazz |
protected List<Publication> |
publications |
protected List<Subscription> |
subscriptions |
Modifier | Constructor and Description |
---|---|
protected |
ClassSerialization(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<String> |
executors() |
protected List<Publication> |
publications() |
protected abstract void |
serialize()
Serialize will attempt to create an instance of the class given to this instance ctr.
|
protected List<Subscription> |
subscriptions() |
protected final Class<?> clazz
protected List<Subscription> subscriptions
protected List<Publication> publications
protected ClassSerialization(Class<?> clazz)
protected abstract void serialize() throws InstantiationException, IllegalAccessException
Afterwards, subscription/publication pojo will be generated.
Note: Storm pub-sub is richer than it's spark counterpart. i.e. in storm we can define not only stream but also fields...
protected List<Subscription> subscriptions()
protected List<Publication> publications()
Copyright © 2023. All rights reserved.