Kettle-spoon Getting Started example

Source: Internet
Author: User

Spoon is the Kettle Design debugging tool


[Demo document DOWNLOAD] Https://files.cnblogs.com/files/shexunyu/Kettle-Spoon-Demo.zip
[DRIVER DOWNLOAD] Https://files.cnblogs.com/files/shexunyu/Kettle-Spoon-Mysql-Mssq-Orcle-lwin64%E9%A9%B1%E5%8A%A8.zip
[Spoondemo source file Download] Https://files.cnblogs.com/files/shexunyu/Kettle-Spoon-Demo.zip

MySQL database connection

1. Drive:

    

    b) 驱动添加

2. Port Error: Connection database port not correct

3. Normal connection

4. Table input

    a)    新建一个表输入,获取数据库表的数据

    b)    预览数据

    c)    当前表数据输出到另外一个同样的表

    d)    当前表数据输出到另外一个同样的表

    e)    设置输出表

    f)    输出表字段

    g)    输出表字段选择

    h)    预览

    i)    查看日志

    j)    借助表输入预览来查看数据是否存储到数据库

   a)    借助数据输入预览来查看数据是否存储到数据库
MSSQL Database Connection
1.驱动错误:

2.新增驱动    a)    把下载的包放到对应位置

    b)    测试连接

3.Mysql表数据获取输出到Mssql    a)    拖拽一个表输入,设置一个有数据的表,输出到一个同样结构的空表

    b)    配置映射关系

    c)    启动预览

    d)    预览数据

Oracle Database Connection
  1. Database driver and Connectivity test: a) database connection B) interactions between databases can be referred to the above example
Files (Txt, Json, Xml, Access, and so on)
1.文件的路径设置:
    a)    全局变量+文件方式(${Internal.Transformation.Filename.Directory}文件名)        1.    变量通过Ctrl+Alt+Space三个键组合显示出来,或者使用图表点击

    b)    绝对路径

2.Access输入    a)    Access文件选择

    b)    转换预览

3.Excel获取
    a)    Excel输入

    b)    添加文件  

    c)    选择工作表

    d)    设置需要获取的字段

    e)    预览记录  

4.JSON 输入        a)    Json文件输入(8.1你可能找不到Json输入,请拷贝文件Json输入到你新的转换)

    b)    Json文件字段获取

    c)    预览

5.文本文件输入
    a)    一般文件        1.    输入

        2.    字段获取=》预览

    b)    固定宽度文件输入        1.    设置文件字段宽度

        2.    字段设置=》预览

    c)    编码文件输入

6.文件输出
    a)    设置结构

    b)    复制两份

    c)    输出两个不同的文件

    d)    两个输出文件一起执行

Restapilogon Call
1.用户数据获取(存在登录参数)http://10.60.136.145:9102/api/auth/login)登录及获取接口Json数据    a)    有参数直接调用方式

    b)    预览

2.用户数据获取(未登录状态)    a)    设置启动参数

    b)    

    c)    

    d)    格式化符合规范的Token值

    e)    设置请求参数字段类型

    f)    结果一次解析,这里得到结果就可以做更多的逻辑处理,分析是否继续向下执行或解析

    g)    Data二次解析

    h)    过滤或选择字段

    i)    预览

Kettle-spoon Getting Started example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.