当前位置:网站首页>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

边栏推荐
- Objective-C description method and type method
- Objective C attribute keyword
- 函数计算异步任务能力介绍 - 任务触发去重
- Evolution of MySQL database architecture
- Go 语言入门很简单:Go 实现凯撒密码
- Pytest multi process / multi thread execution test case
- 【微服务|openfeign】feign的两种降级方式|Fallback|FallbackFactory
- Support the first triggered go ticker
- Wechat official account web page authorization
- Storage of MySQL database
猜你喜欢

There is a problem that the package cannot be parsed in the like project

laravel admin里百度编辑器自定义路径和文件名

Lnk2038 detected a mismatch of "runtimelibrary": the value "md_dynamicrelease" does not match the value "mdd_dynamicdebug" (in main.obj)

Introduction to asynchronous task capability of function calculation - task trigger de duplication

SQL語句加强練習(MySQL8.0為例)

SQL statement strengthening exercise (MySQL 8.0 as an example)

The maximum expiration time of client secret in azure ad application registration is modified to 2 years

User defined path and file name of Baidu editor in laravel admin

Flink学习6:编程模型

Katalon中控件的参数化
随机推荐
Cesiumjs 2022^ source code interpretation [0] - article directory and source code engineering structure
Flink学习6:编程模型
Small record of thinking
Huawei cloud Kunpeng engineer training (Guangxi University)
02 ls 命令的具体实现
I Build a simple microservice project
SQL語句加强練習(MySQL8.0為例)
02 specific implementation of LS command
[paddleseg source code reading] paddleseg custom data class
Storage of MySQL database
Objective-C string class, array class
mysql数据库的存储
Objective-C description method and type method
【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装
[webrtc] M98 Ninja build and compile instructions
【CSRF-01】跨站请求伪造漏洞基础原理及攻防
A review of reverse reinforcement learning at Virginia Tech (VT)
hbuildx中夜神模拟器的配置以及热更新
Pandora IOT development board learning (HAL Library) - Experiment 6 independent watchdog experiment (learning notes)
Lnk2038 detected a mismatch of "runtimelibrary": the value "md_dynamicrelease" does not match the value "mdd_dynamicdebug" (in main.obj)