public class FixedCountFirehoseFactory extends Object implements FirehoseFactory
| Constructor and Description |
|---|
FixedCountFirehoseFactory(FirehoseFactory delegate,
int count) |
| Modifier and Type | Method and Description |
|---|---|
Firehose |
connect(InputRowParser parser)
Initialization method that connects up the fire hose.
|
int |
getCount() |
FirehoseFactory |
getDelegate() |
public FixedCountFirehoseFactory(FirehoseFactory delegate, int count)
public FirehoseFactory getDelegate()
public int getCount()
public Firehose connect(InputRowParser parser) throws IOException
FirehoseFactoryconnect in interface FirehoseFactoryIOExceptionCopyright © 2011–2017. All rights reserved.