Apache Tajo Tutorial
Apache Tajo Useful Resources
Selected Reading
- Apache Tajo - Custom Functions
- Apache Tajo - JDBC Interface
- OpenStack Swift Integration
- Apache Tajo - Integration with Hive
- Integration with HBase
- Apache Tajo - Storage Plugins
- Apache Tajo - SQL Queries
- Aggregate & Window Functions
- Apache Tajo - SQL Statements
- Apache Tajo - Table Management
- Apache Tajo - Database Creation
- Apache Tajo - JSON Functions
- Apache Tajo - DateTime Functions
- Apache Tajo - String Functions
- Apache Tajo - Math Functions
- Apache Tajo - SQL Functions
- Apache Tajo - Operators
- Apache Tajo - Data Types
- Apache Tajo - Shell Commands
- Apache Tajo - Configuration Settings
- Apache Tajo - Installation
- Apache Tajo - Architecture
- Apache Tajo - Introduction
- Apache Tajo - Home
Apache Tajo Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Apache Tajo - Storage Plugins
Apache Tajo - Storage Plugins
Tajo supports various storage formats. To register storage plugin configuration, you should add the changes to the configuration file “storage-site.json”.
storage-site.json
The structure is defined as follows −
{ "storages": { “storage plugin name“: { "handler": "${class name}”, "default-format": “plugin name" } } }
Each storage instance is identified by URI.
PostgreSQL Storage Handler
Tajo supports PostgreSQL storage handler. It enables user queries to access database objects in PostgreSQL. It is the default storage handler in Tajo so you can easily configure it.
configuration
{ "spaces": { "postgre": { "uri": "jdbc:postgresql://hostname:port/database1" "configs": { "mapped_database": “sampledb” "connection_properties": { "user":“tajo", "password": "pwd" } } } } }
Here, “database1” refers to the postgreSQL database which is mapped to the database “sampledb” in Tajo.
Advertisements