| Modifier and Type | Field and Description |
|---|---|
static String |
DELETE_DIMENSION |
static String |
DIMENSION |
static String |
DIMENSION_TO_BUILD |
| Constructor and Description |
|---|
ArrayDecompositionMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare(Map<String,Object> properties,
io.wizzie.metrics.MetricsManager metricsManager)
Initialize function, this method is implemented by the users to for example:
initiate variables, load config, open DB connections.
|
org.apache.kafka.streams.KeyValue<String,Map<String,Object>> |
process(String key,
Map<String,Object> value)
Main logic of function
|
void |
stop()
Stop function, this method is implemented by the users to for example: close DB connection
|
apply, initpublic static final String DIMENSION_TO_BUILD
public static final String DIMENSION
public static final String DELETE_DIMENSION
public void prepare(Map<String,Object> properties, io.wizzie.metrics.MetricsManager metricsManager)
Functionproperties - Properties for functionmetricsManager - MetricsManager object for functionpublic org.apache.kafka.streams.KeyValue<String,Map<String,Object>> process(String key, Map<String,Object> value)
Functionkey - The key of Kafka messagevalue - The value of Kafka messagepublic void stop()
FunctionCopyright © 2017–2018. All rights reserved.