public class TwitterSpritzerFirehoseFactory extends Object implements FirehoseFactory<InputRowParser>
| Constructor and Description | 
|---|
TwitterSpritzerFirehoseFactory(Integer maxEventCount,
                              Integer maxRunMinutes)  | 
| Modifier and Type | Method and Description | 
|---|---|
Firehose | 
connect(InputRowParser parser,
       File temporaryDirectory)
Initialization method that connects up the fire hose. 
 | 
int | 
getMaxEventCount()  | 
int | 
getMaxRunMinutes()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectpublic Firehose connect(InputRowParser parser, File temporaryDirectory) throws IOException
FirehoseFactoryPrefetchableTextFilesFirehoseFactory may use a temporary
 directory to cache data in it.connect in interface FirehoseFactory<InputRowParser>parser - an input row parsertemporaryDirectory - a directory where temporary files are storedIOExceptionpublic int getMaxEventCount()
public int getMaxRunMinutes()
Copyright © 2011–2018. All rights reserved.