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,
       File temporaryDirectory)
Initialization method that connects up the fire hose. 
 | 
int | 
getCount()  | 
FirehoseFactory | 
getDelegate()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectpublic FixedCountFirehoseFactory(FirehoseFactory delegate, int count)
public FirehoseFactory getDelegate()
public int getCount()
public Firehose connect(InputRowParser parser, File temporaryDirectory) throws IOException
FirehoseFactoryPrefetchableTextFilesFirehoseFactory may use a temporary
 directory to cache data in it.connect in interface FirehoseFactoryparser - an input row parsertemporaryDirectory - a directory where temporary files are storedIOExceptionCopyright © 2011–2018. All rights reserved.