当前位置:网站首页>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
边栏推荐
- 毕业三年,远程半年 | 社区征文
- Spa in SDP
- Deep thinking on investment
- Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure
- 还原窗口位置的微妙之处
- Two commonly used graphics can easily realize data display
- Simple dialogue system -- text classification using transformer
- ctf-pikachu-CSRF
- 02 ls 命令的具体实现
- idea修改主体颜色
猜你喜欢
分布式系统:what、why、how
Illustrated network: what is the hot backup router protocol HSRP?
Katalon中控件的参数化
I was tortured by my colleague's null pointer for a long time, and finally learned how to deal with null pointer
Idea modify body color
Objective-C description method and type method
还原窗口位置的微妙之处
Exercices de renforcement des déclarations SQL (MySQL 8.0 par exemple)
【微服务|openfeign】@FeignClient详解
10 reasons for not choosing to use free virtual hosts
随机推荐
STM32 external DHT11 display temperature and humidity
Idea configuration 360zip open by default -- external tools
MySQL maxscale realizes read-write separation
LevelDB源码解读-SkipList
Objective C attribute keyword
2021 RSC | Drug–target affinity prediction using graph neural network and contact maps
Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure
Perf simple process for multithreaded profile
Select sorting and bubble sorting template
ctf-pikachu-CSRF
Is it safe to buy insurance for your children online? Do you want to buy a million dollar medical insurance for your children?
【罗技】m720
Programmers' telecommuting is mixed | community essay solicitation
Balance between picture performance of unity mobile game performance optimization spectrum and GPU pressure
Huawei cloud Kunpeng engineer training (Guangxi University)
pytest多进程/多线程执行测试用例
Simple dialogue system -- text classification using transformer
图解网络:什么是热备份路由器协议HSRP?
【华为云IoT】读书笔记之《万物互联:物联网核心技术与安全》第3章(上)
leetcode刷题:二叉树07(二叉树的最大深度)