public class DweetWriter extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseUrl |
protected String |
id |
protected String[] |
keys |
(package private) static org.slf4j.Logger |
logger |
protected String |
machine |
protected String[] |
postKeys |
protected String |
prefix |
protected String |
thing |
context| Constructor and Description |
|---|
DweetWriter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String[] |
getKeys() |
String |
getMachine() |
String |
getThing() |
void |
init(ProcessContext ctx) |
Data |
process(Data data) |
void |
setId(String id) |
void |
setKeys(String[] keys) |
void |
setMachine(String machine) |
void |
setThing(String thing) |
finish, resetStatestatic org.slf4j.Logger logger
protected String machine
protected String id
protected String thing
protected String baseUrl
protected String[] keys
protected String prefix
protected String[] postKeys
public String getMachine()
public void setMachine(String machine)
public String getId()
public void setId(String id)
public String getThing()
public void setThing(String thing)
public String[] getKeys()
public void setKeys(String[] keys)
public void init(ProcessContext ctx) throws Exception
init in interface StatefulProcessorinit in class AbstractProcessorExceptionCopyright © 2018. All rights reserved.