public class TimedShutoffFirehoseFactory extends Object implements org.apache.druid.data.input.FirehoseFactory<org.apache.druid.data.input.impl.InputRowParser>
| Constructor and Description |
|---|
TimedShutoffFirehoseFactory(org.apache.druid.data.input.FirehoseFactory delegateFactory,
org.joda.time.DateTime shutoffTime) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.druid.data.input.Firehose |
connect(org.apache.druid.data.input.impl.InputRowParser parser,
File temporaryDirectory) |
org.apache.druid.data.input.FirehoseFactory |
getDelegateFactory() |
org.joda.time.DateTime |
getShutoffTime() |
public TimedShutoffFirehoseFactory(org.apache.druid.data.input.FirehoseFactory delegateFactory,
org.joda.time.DateTime shutoffTime)
public org.apache.druid.data.input.Firehose connect(org.apache.druid.data.input.impl.InputRowParser parser,
File temporaryDirectory)
throws IOException
connect in interface org.apache.druid.data.input.FirehoseFactory<org.apache.druid.data.input.impl.InputRowParser>IOExceptionpublic org.apache.druid.data.input.FirehoseFactory getDelegateFactory()
public org.joda.time.DateTime getShutoffTime()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.