Method and device for storing data to Hbase based on Siddhi
A technology for storing data and data, applied in database models, relational databases, structured data retrieval, etc., can solve the problems of stream data storage technology and high environmental requirements, and achieve low learning costs, simple storage operations, and easy-to-understand structures Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0028] A method of storing data to Hbase based on Siddhi. First, implement a custom HbaseSink by inheriting Siddhi's Sink abstract class, and then store stream data in batches into Hbase through Siddhi; the specific process is as follows:
[0029] The first step is to preset the parameters in the entire SiddhiQL statement, including hbase.zookeeper.quorum, namespace, tablename, columnfamily required in Hbase, and also add flushing trigger condition parameters: flush.count and time.out, through Time and data volume to control the timing of flashing.
[0030] The second step is to inherit Siddhi's Sink abstract class and implement the core abstract method. This is a mature technology in this field, so I will not repeat it here, and the general custom Sink framework will be built.
[0031] The third step is to realize the writing of HbaseClient. Specifically, use the API provided by Hbase to connect to the Hbase cluster, and write data to the table under the specified namespace. ...
Embodiment 2
[0035] A device for customizing HbaseSink based on Siddhi includes a memory: for storing executable instructions; a processor: for executing the executable instructions stored in the memory, and implementing a method for storing data to Hbase based on Siddhi.
[0036] The invention is used to store streaming data processed by Siddhi into Hbase, and store data in Hbase by customizing the Sink type of Siddhi, thereby realizing continuous storage of large-scale streaming data.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com