Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
Presto实战
by
Matt Fuller
,
Manfred Moser
,
Martin Traverso
March 2021
Intermediate to advanced
265 pages
6h 50m
Chinese
Posts & Telecom Press
Content preview from
Presto实战
使用
Presto
|
27
3.2
Presto
JDBC
驱动
任何
Java
应用程序都可以通过
Java
数据库连接(
JDBC
)驱动连接到
Presto
。
JDBC
是一
套标准的数据库访问
API
,它提供了在关系数据库中查询
、插入、删除和更新数据等的必
要方法。许多运行在
JVM
上的客户端应用程序或服务端应用程序使用
JDBC
来访问底层
的数据库,以实现数据库管理、报表和其他一些特性。通过
JDBC
驱
动,所有这些应用程
序都可以使用
Presto
。
Presto
的
JDBC
驱动允许你连接到
Presto
并使用
SQL
语句与
Presto
交互。
如果你熟悉
JDBC
驱动的不同实现,就知道
Presto
的
JDBC
驱动是
Type 4
驱
动,这仅仅意味着它直接与
Presto
原生接口通信。
JDBC
驱动可以让你使用许多强大的
SQL
客户端和数据库管理工具,比如开源工具
DBeaver
或
SQuirreL
SQL
客户端等。基于
JDBC
的报告生成、仪表盘和分析工具也可以与
Presto
一起使用。
用这些工具连接
Presto
的步骤都很相似。
1.
下载
JDBC
驱动。
2.
将
JDBC
驱动放置在应用
classpath
的覆盖范围之内。
3.
配置
JDBC
驱动。
4.
配置
Presto
连接。
5.
连接
Presto
并开始使用。
例如,开源数据库管理工具
DBeaver
简化了上述过程
。安装和启动
DBeaver
之后,遵循以
下步骤。
1.
从
File
(文件)菜单中选择
New
(新建)
。
2.
在
DBeaver
这部分中,选择
DatabaseConnection
(数据库连接)
,然后单击 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
大数据项目管理:从规划到实现
Ted Malaska, Jonathan Seidman
数据库系统内幕
Alex Petrov
云原生:运用容器、函数计算和数据构建下一代应用
Boris Scholl, Trent Swanson, Peter Jausovec
Google系统架构解密: 构建安全可靠的系统
Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski, Ana Oprea, Adam Stubblefield
Publisher Resources
ISBN: 9787115560056