类 ViewBuilder
java.lang.Object
com.weibo.dip.analysis.view.dynamic.ViewBuilder
ViewBuilder.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Set view alias.build()Set view desc.Add view dimension.getTopic()Add view metric.Add view table.tableCalculator(String table, String name, String type, String url, String user, String passwd, String sql) Add view table calculator.tableDimension(String table, String name) Add view table dimension.Set view topic.
-
字段详细资料
-
构造器详细资料
-
ViewBuilder
-
-
方法详细资料
-
getTopic
-
getTables
-
topic
Set view topic.- 参数:
topic- topic- 返回:
- builder
-
alias
Set view alias.- 参数:
alias- alias- 返回:
- builder
-
desc
Set view desc.- 参数:
desc- desc- 返回:
- builder
-
dimension
Add view dimension.- 参数:
name- dimension namealias- dimension aliasdesc- dimension desc- 返回:
- builder
-
metric
Add view metric.- 参数:
name- metric namealias- metric aliasdesc- metric desc- 返回:
- builder
-
table
Add view table.- 参数:
name- table namedata- table granularity/dataunit- table granularity/unitperiod- table perioddelay- table delay- 返回:
- builder
-
tableDimension
Add view table dimension.- 参数:
table- table namename- dimension name- 返回:
- builder
-
tableCalculator
public ViewBuilder tableCalculator(String table, String name, String type, String url, String user, String passwd, String sql) Add view table calculator.- 参数:
table- table namename- metric nametype- db typeurl- db urluser- db userpasswd- db passwdsql- query sql- 返回:
- builder
-
build
-