com.weibo.dip.analysisql.clickhouse.metric.ClickHouseSqlTemplateFactory Maven / Gradle / Ivy
The newest version!
package com.weibo.dip.analysisql.clickhouse.metric;
import com.weibo.dip.analysisql.metric.SqlTemplate;
import com.weibo.dip.analysisql.metric.SqlTemplateFactory;
/** ClickHouseSqlTemplateFactory. */
public class ClickHouseSqlTemplateFactory implements SqlTemplateFactory {
@Override
public SqlTemplate create() {
return new ClickHouseSqlTemplate(
new ClickHouseSqlSnippetVisitor(new ClickHouseSqlFilterVisitor()));
}
}