public class MockedSources extends Object
Constructor and Description |
---|
MockedSources() |
Modifier and Type | Method and Description |
---|---|
void |
addMockData(String spoutId,
String streamId,
Values... valueses)
add mock data for the spout.
|
void |
addMockData(String spoutId,
Values... valueses) |
Map<String,List<FixedTuple>> |
getData() |
public void addMockData(String spoutId, String streamId, Values... valueses)
add mock data for the spout.
spoutId
- the spout to be mockedstreamId
- the stream of the spout to be mockedvalueses
- the mocked datapublic Map<String,List<FixedTuple>> getData()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.