public class ConstantAdditionalValue extends Object implements IAdditionalValue, Serializable
IAdditionalValue
.Constructor and Description |
---|
ConstantAdditionalValue(Object constant,
String name)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalValue(org.apache.storm.tuple.Tuple t)
This method returns a ready to use ",\"key\": value" string
|
String |
getKey() |
public String getKey()
getKey
in interface IAdditionalValue
public String getAdditionalValue(org.apache.storm.tuple.Tuple t)
getAdditionalValue
in interface IAdditionalValue
t
- an input storm tupleCopyright © 2023. All rights reserved.