public class MockedSources extends Object
Constructor and Description |
---|
MockedSources() |
MockedSources(Map<String,List<FixedTuple>> data) |
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 MockedSources()
public MockedSources(Map<String,List<FixedTuple>> data)
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 © 2022 The Apache Software Foundation. All rights reserved.