public class BoltMsg extends Object
BoltMsg is an object that represents the data sent from a shell component to a bolt process that implements a multi-language protocol. It is the union of all data types that a bolt can receive from Storm.
BoltMsgs are objects sent to the ISerializer interface, for serialization according to the wire protocol implemented by the serializer. The BoltMsg class allows for a decoupling between the serialized representation of the data and the data itself.
| Constructor and Description | 
|---|
| BoltMsg() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getComp() | 
| String | getId() | 
| String | getStream() | 
| long | getTask() | 
| List<Object> | getTuple() | 
| void | setComp(String comp) | 
| void | setId(String id) | 
| void | setStream(String stream) | 
| void | setTask(long task) | 
| void | setTuple(List<Object> tuple) | 
public String getId()
public void setId(String id)
public String getComp()
public void setComp(String comp)
public String getStream()
public void setStream(String stream)
public long getTask()
public void setTask(long task)
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.