Check patentability & draft patents in minutes with Patsnap Eureka AI!

Phoenix database access method and device, equipment and medium

An access method and database technology, applied in the field of Phoenix database access based on SchemaCrawler, can solve the problems of inability to directly connect to the Phoenix database, unable to achieve Phoenix database access, etc., to achieve the effect of data access

Pending Publication Date: 2021-09-24
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the open source plug-in of SchemaCrawler is extended based on the driver of each database itself, it cannot directly connect to the Phoenix database, that is, it cannot realize access to the Phoenix database. The root cause is that if SchemaCrawler tries to connect to the Phoenix database, it needs to judge the Phoenix database first. Whether to support Schema, but because the Phoenix database is not a traditional relational database, it does not support traditional Schema, but supports tableSpace (table space), which makes SchemaCrawler unable to access Phoenix database

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Phoenix database access method and device, equipment and medium
  • Phoenix database access method and device, equipment and medium
  • Phoenix database access method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0039]SchemaCrawler is an open source third-party library that can obtain schema information of databases that support JDBC drivers, including Database, table, column, PK key, FK key, Indexs, Sequence, etc. Based on Hbase, Phoenix provides business-oriented developers with query operations on Hbase in the form of standard sql, and supports most features in standard sql, such as advanced query syntax such as conditional operations, grouping, and paging. Althoug...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a Phoenix database access method and device, equipment and a medium, and the method comprises the steps: building a connection channel between a SchemaCrawler and a Phoenix database through a JDBC, and skipping a step of judging whether the Phoenix database supports a Schema definition or not; creating a data source loader through a SchemaCrawler; mapping a table space of the Phoenix database into Schema, acquiring a query mode selection parameter by utilizing a preset parameter input interface, and sending the query mode selection parameter to the data source loader; and when the data source loader obtains the query mode selection parameter, selecting a corresponding target query mode, and querying the Phoenix database by utilizing a preset query mode supporting Phoenix query in the target query mode. According to the technical scheme, the method and the device have the advantage that the SchemaCrawler can access the Phoenix database.

Description

technical field [0001] The present invention relates to the technical field of databases, in particular to a Phoenix database access method, device, equipment and medium based on SchemaCrawler. Background technique [0002] SchemaCrawler is an open source third-party library that can obtain schema information of databases that support JDBC driver type (JDBC, namely Java Database Connectivity, Java Database Connection), including Database, table, column, PK (Primary key, primary key), FK (ie Foreign key, foreign key), Indexs, Sequence, etc. Based on Hbase, Phoenix provides business-oriented developers with query operations on Hbase in the form of standard sql, and supports most features in standard sql, such as advanced query syntax such as conditional operations, grouping, and paging. Although the open source plug-in of SchemaCrawler is based on the driver of each database to expand, it cannot directly connect to the Phoenix database, that is, it cannot realize access to th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/25G06F16/2455
CPCG06F16/252G06F16/2455
Inventor 张慧
Owner BEIJING GRIDSUM TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More