当前位置:网站首页>Flink learning 6: programming model
Flink learning 6: programming model
2022-07-04 04:18:00 【hzp666】

1. Interface layering
Flink Different levels of interfaces are provided , At the bottom is state data flow processing , The highest level is SQL

1.1 State data flow processing
Through the process function , Inherited to DataStream API in

Stateful data stream processing interface ,
1.2 DataStream and DataSet API
The core API
DataStream Used to deal with bounded and Unbounded data flow .
DataSet API Used to deal with bounded Data flow .
This interface provides a large number of common components

in addition ,
DataStream Integrate lower level functions
DataSet API Provides additional support for bounded data

1.3 Table API
1. Take the watch as the center , A two-dimensional table similar to a relational database

2. Provide comparable operations ,select, group by etc.

3.Table API You can customize functions to extend , But in terms of expression ability , Not as good as the core API.( however Table API The code is simpler )
4.Table API Is to specify what the program should do , Instead of specifying the exact execution steps of the program
5.Table API It will be optimized before implementation , in addition Table API and DataStream , DataSet Seamless switching between . So in the program, you can mix only .
1.4 SQL
Flink The most advanced encapsulation interface is flink SQL
Grammar and expressive ability are similar to Table API similar , The only difference is through the use of SQL Query language implementation program .
SQL Query and Table API Close interaction ,SQL Can be directly in Table API Query on the table created in

边栏推荐
- pytest多进程/多线程执行测试用例
- Penetration practice - sqlserver empowerment
- Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure
- idea修改主体颜色
- Objective-C description method and type method
- LNK2038 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MDd_DynamicDebug”(main.obj 中)
- Rhcsa-- day one
- 透过JVM-SANDBOX源码,了解字节码增强技术原理
- How was my life in 2021
- Simple dialogue system -- text classification using transformer
猜你喜欢

2022-07-03: there are 0 and 1 in the array. Be sure to flip an interval. Flip: 0 becomes 1, 1 becomes 0. What is the maximum number of 1 after turning? From little red book. 3.13 written examination.

Idea modify body color

分布式系统:what、why、how

Evolution of MySQL database architecture

SQL statement strengthening exercise (MySQL 8.0 as an example)

Unity 绘制弹球和台球的运动轨迹

02 ls 命令的具体实现

Restore the subtlety of window position
![Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure](/img/ba/c1d40de154344ccc9f2fd1dd4cb12f.png)
Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure

The maximum expiration time of client secret in azure ad application registration is modified to 2 years
随机推荐
JDBC 进阶
Unity 绘制弹球和台球的运动轨迹
函数计算异步任务能力介绍 - 任务触发去重
毕业三年,远程半年 | 社区征文
Is it safe to buy insurance for your children online? Do you want to buy a million dollar medical insurance for your children?
【微服务|openfeign】使用openfeign远程调用文件上传接口
There is a problem that the package cannot be parsed in the like project
Unity移动端游戏性能优化简谱之 画面表现与GPU压力的权衡
Interpretation of leveldb source code skiplist
MySQL one master multiple slaves + linear replication
ctf-pikachu-CSRF
Idea configuration 360zip open by default -- external tools
Katalon使用script实现查询List大小
【读书会第十三期】视频文件的封装格式
Programmers' telecommuting is mixed | community essay solicitation
Katalon框架测试web(二十一)获取元素属性断言
量子力学习题
The three-year revenue is 3.531 billion, and this Jiangxi old watch is going to IPO
毕业设计:设计秒杀电商系统
Spa in SDP