public class IrcFirehoseFactory extends Object implements io.druid.data.input.FirehoseFactory<IrcInputRowParser>
Example code:
<p/>
IrcFirehoseFactory factory = new IrcFirehoseFactory(
"wiki123",
"irc.wikimedia.org",
Lists.newArrayList(
"#en.wikipedia",
"#fr.wikipedia",
"#de.wikipedia",
"#ja.wikipedia"
)
);
Constructor and Description |
---|
IrcFirehoseFactory(String nick,
String host,
List<String> channels) |
Modifier and Type | Method and Description |
---|---|
io.druid.data.input.Firehose |
connect(IrcInputRowParser firehoseParser) |
List<String> |
getChannels() |
String |
getHost() |
String |
getNick() |
public String getNick()
public String getHost()
public io.druid.data.input.Firehose connect(IrcInputRowParser firehoseParser) throws IOException
connect
in interface io.druid.data.input.FirehoseFactory<IrcInputRowParser>
IOException
Copyright © 2011–2015. All rights reserved.