public class ClippedFirehoseFactory extends Object implements FirehoseFactory
| Constructor and Description | 
|---|
ClippedFirehoseFactory(FirehoseFactory delegate,
                      org.joda.time.Interval interval)  | 
| Modifier and Type | Method and Description | 
|---|---|
Firehose | 
connect(InputRowParser parser,
       File temporaryDirectory)
Initialization method that connects up the fire hose. 
 | 
FirehoseFactory | 
getDelegate()  | 
org.joda.time.Interval | 
getInterval()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectpublic ClippedFirehoseFactory(FirehoseFactory delegate, org.joda.time.Interval interval)
public FirehoseFactory getDelegate()
public org.joda.time.Interval getInterval()
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.