Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for operating HBase

A technology of configuration information and annotations, applied in the field of operating HBase, it can solve the problems of complex coding and programmer coding, and achieve the effect of simplifying the operation.

Inactive Publication Date: 2017-03-29
NUBIA TECHNOLOGY CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the Hbase-based java API (interface) operation is too complicated for programmers to code, that is, it is more complicated to use the officially provided interface for coding

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
  • Method and device for operating HBase
  • Method and device for operating HBase
  • Method and device for operating HBase

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0023] Such as figure 1 As shown, a kind of method of operating HBase that the first embodiment of the present invention proposes, it comprises:

[0024] Step 101: Establish a connection with HBase.

[0025] Step 102: Scan entity classes. as well as

[0026] Step 103: When an annotation is scanned in the entity class code, operate the HBase according to the scanned annotation.

[0027] Wherein, the annotation is used to map the relationship between the HBase and the entity class.

[0028] It should be noted that HBase is a well-known database in the field, and the technical terms involved in it, such as HadoopProperties, HbaseDao, HBaseService, etc., are well-known to those skilled in the art, and its functions will not be described in detail.

[0029] Wherein, in step 101, the configuration information of Hbase ...

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 present invention discloses a method and a device for operating an HBase, and aims to simplify operations of the HBase. The method comprises: establishing a connection with the HBase; scanning an entity class; and operating the HBase according to scanned comments when the comments are scanned in the entity class, wherein the comments are used for mapping a relationship between the HBase and the entity class.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method and device for operating HBase. Background technique [0002] HBase (Hadoop Database) is a distributed, column-oriented open source database. It is widely used in big data processing and Internet applications. It is a high-reliability, high-performance, column-oriented and scalable distributed storage system. Using HBase technology, a large-scale structured storage cluster can be built on a cheap PC (personal computer) server. However, the Hbase-based java API (interface) operation is too complicated for programmers to code, that is, it is more complicated to use the officially provided interface for coding. [0003] Therefore, there is a need in the art for a new HBase operation mode that can optimize the HBase operation. Contents of the invention [0004] The main purpose of the present invention is to provide a method and device for operating HBase, which can s...

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): G06F17/30
CPCG06F16/288G06F16/2228G06F16/27
Inventor 齐伟
Owner NUBIA TECHNOLOGY CO LTD