Exemple #1
0
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))
}
Exemple #2
0
func init() {
	bql.MustRegisterGlobalSourceCreator("mnist_source", bql.SourceCreatorFunc(createSource))
}
Exemple #3
0
func init() {
	bql.MustRegisterGlobalSourceCreator("wc_sentences",
		bql.SourceCreatorFunc(wordcount.CreateSentences))
	udf.MustRegisterGlobalUDSFCreator("wc_tokenizer",
		udf.MustConvertToUDSFCreator(wordcount.CreateTokenizer))
}
Exemple #4
0
func init() {
	bql.MustRegisterGlobalSourceCreator("rent_training", bql.SourceCreatorFunc(createTrainingSource))
	bql.MustRegisterGlobalSourceCreator("rent_test", bql.SourceCreatorFunc(createTestSource))
}
Exemple #5
0
func init() {
	bql.MustRegisterGlobalSourceCreator("twitter_public_stream",
		bql.SourceCreatorFunc(twitter.CreatePublicStreamSource))
}
Exemple #6
0
func init() {
	bql.MustRegisterGlobalSourceCreator("fluentd", bql.SourceCreatorFunc(fluentd.NewSource))
	bql.MustRegisterGlobalSinkCreator("fluentd", bql.SinkCreatorFunc(fluentd.NewSink))
}