backtype.storm.testing
Class MockedSources
java.lang.Object
backtype.storm.testing.MockedSources
public class MockedSources
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockedSources
public MockedSources()
addMockData
public void addMockData(String spoutId,
String streamId,
Values... valueses)
- add mock data for the spout.
- Parameters:
spoutId - the spout to be mockedstreamId - the stream of the spout to be mockedobjects - the mocked data
addMockData
public void addMockData(String spoutId,
Values... valueses)
getData
public Map<String,List<FixedTuple>> getData()
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.