Supercharge Your Innovation With Domain-Expert AI Agents!

Connection method based on python and HBase jdbc

A connection method and connection establishment technology, applied in the field of IT communication, can solve the problems of inconvenient reading of metadata and inability to support sql language access, etc., to achieve the effect of convenient remote calling and development, ensuring accuracy and simple operation

Inactive Publication Date: 2015-02-25
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

It describes how it allows users remotely access data stored within an Apache web site or databases through HTTP commands (hypertext transfer protocol). To achieve these technical benefits, there are two ways: 1) Encapling Java Interface with Jython programming that simplifies communication between clients and servers, allowing them to execute scripted queries against specific tables without having direct knowledge about their underlying structure.2) Using Python modules called HttpWriter which allow developers to write scripts directly onto SQL statements instead of compiling bytecodes themselves. These techniques help make writing more efficient when developing complex models like AJAX or XQuery interfaces.

Problems solved by technology

The technical problem addressed in this patents is how to allow large amounts of data stored over internet or machine networks efficiently accessible without being limited due to their structure.

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
  • Connection method based on python and HBase jdbc

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Referring to the accompanying drawings, a specific example is used to describe the process of remotely controlling the Hbase database of the present invention and the safe and stable Hbase database connection method of the present invention.

[0020] Proceed as follows:

[0021] 1) The client enters the Hbase server IP and the root node in zookeeper;

[0022] 2) The client calls the jdbc interface to establish a connection with the Hbase server. If the connection succeeds, the isConnection parameter is set to true. If the connection fails, the system exits;

[0023] 3) After the connection is successful, the user can initiate a series of Hbase operation requests on the client to remotely control Hbase. Refer to the attached figure 1 Describe the remote operation process of Hbase in detail:

[0024] a) The client enters the parameters of the database operation;

[0025] b) Determine whether isConnection is true, if isConnection is true, jump to step c), if isConnectio...

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 provides a connection method based on a python and an HBase jdbc, and belongs to the technical field of the IT communication industry. The method is achieved through the python language, an HBase database is remotely controlled at a client by packaging a jdbc interface of the HBase, DDL, DML and database operations such as HBase metadata query are achieved, codes used in the method are packaged into a python module so that the requirement for being connected with the HBase of other languages can be met, and remote call and development of the cross-platform HBase database are facilitated.

Description

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

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
Owner LANGCHAO ELECTRONIC INFORMATION IND 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