示例#1
0
文件: plugin.go 项目: bakhi/test
func init() {
	bql.MustRegisterGlobalSourceCreator("my_src", bql.SourceCreatorFunc(test.CreateMySource))
	//	bql.MustRegisterGlobalSourceCreator("lorem", bql.SourceCreatorFunc(udsfs.CreateLoremSource))
	//	udf.MustRegisterGlobalUDSFCreator("word_splitter", udf.MustConvertToUDSFCreator(udsfs.CreateWordSplitter))
	udf.MustRegisterGlobalUDSFCreator("ticker", udf.MustConvertToUDSFCreator(test.CreateTicker))
	udf.MustRegisterGlobalUDSFCreator("collector", udf.MustConvertToUDSFCreator(test.CreateCollector))
}
示例#2
0
func init() {
	bql.MustRegisterGlobalSourceCreator("mnist_source", bql.SourceCreatorFunc(createSource))
}
示例#3
0
func init() {
	bql.MustRegisterGlobalSourceCreator("wc_sentences",
		bql.SourceCreatorFunc(wordcount.CreateSentences))
	udf.MustRegisterGlobalUDSFCreator("wc_tokenizer",
		udf.MustConvertToUDSFCreator(wordcount.CreateTokenizer))
}
示例#4
0
文件: rent.go 项目: sensorbee/jubatus
func init() {
	bql.MustRegisterGlobalSourceCreator("rent_training", bql.SourceCreatorFunc(createTrainingSource))
	bql.MustRegisterGlobalSourceCreator("rent_test", bql.SourceCreatorFunc(createTestSource))
}
示例#5
0
func init() {
	bql.MustRegisterGlobalSourceCreator("twitter_public_stream",
		bql.SourceCreatorFunc(twitter.CreatePublicStreamSource))
}
示例#6
0
func init() {
	bql.MustRegisterGlobalSourceCreator("fluentd", bql.SourceCreatorFunc(fluentd.NewSource))
	bql.MustRegisterGlobalSinkCreator("fluentd", bql.SinkCreatorFunc(fluentd.NewSink))
}