public class To
extends java.lang.Object
ProcessorContext.forward(Object, Object, To)
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
childName |
protected long |
timestamp |
Modifier and Type | Method and Description |
---|---|
static To |
all()
Forward the key/value pair to all downstream processors
|
static To |
child(java.lang.String childName)
Forward the key/value pair to one of the downstream processors designated by the downstream processor name.
|
protected void |
update(To to) |
To |
withTimestamp(long timestamp)
Set the timestamp of the output record.
|
protected To(To to)
protected void update(To to)
public static To child(java.lang.String childName)
childName
- name of downstream processorTo
instance configured with childName
public static To all()
To
instance configured for all downstream processorpublic To withTimestamp(long timestamp)
timestamp
- the output record timestampthis
)