Package org.apache.storm.topology
Class OutputFieldsGetter
- java.lang.Object
-
- org.apache.storm.topology.OutputFieldsGetter
-
- All Implemented Interfaces:
OutputFieldsDeclarer
public class OutputFieldsGetter extends Object implements OutputFieldsDeclarer
-
-
Constructor Summary
Constructors Constructor Description OutputFieldsGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
declare(boolean direct, Fields fields)
void
declare(Fields fields)
Uses default stream id.void
declareStream(String streamId, boolean direct, Fields fields)
void
declareStream(String streamId, Fields fields)
Map<String,StreamInfo>
getFieldsDeclaration()
-
-
-
Method Detail
-
declare
public void declare(Fields fields)
Description copied from interface:OutputFieldsDeclarer
Uses default stream id.- Specified by:
declare
in interfaceOutputFieldsDeclarer
-
declare
public void declare(boolean direct, Fields fields)
- Specified by:
declare
in interfaceOutputFieldsDeclarer
-
declareStream
public void declareStream(String streamId, Fields fields)
- Specified by:
declareStream
in interfaceOutputFieldsDeclarer
-
declareStream
public void declareStream(String streamId, boolean direct, Fields fields)
- Specified by:
declareStream
in interfaceOutputFieldsDeclarer
-
getFieldsDeclaration
public Map<String,StreamInfo> getFieldsDeclaration()
-
-