14.2 使用场景
DataCleaner CLI的使用场景有:
- 执行分析job
- 列出已注册的数据存储
- 列出数据存储中的架构
- 列出架构中的数据表
- 列出数据表中的列
- 列出可用的分析仪、转换器或过滤器
通过使用-usage参数调用可执行文件,可以了解这些场景是如何实现的:
> datacleaner-console.exe -usage
-conf (-configuration, --configuration-file) FILE
: XML file describing the configuration of DataCleaner
-ds (-datastore, --datastore-name) VAL
: Name of datastore when printing a list of schemas, tables or columns
-job (--job-file) FILE
: An analysis job XML file to execute
-list [ANALYZERS | TRANSFORMERS | FILTERS | DATASTORES | SCHEMAS | TABLES | COLUMNS]
: Used to print a list of various elements available in the configuration
-s (-schema, --schema-name) VAL
: Name of schema when printing a list of tables or columns
-t (-table, --table-name) VAL
: Name of table when printing a list of columns