Java API of HBase access mode
Access mode of HBase
1. Native Java API: the most conventional and efficient access method;
2. HBase shell: the command line tool of HBase, the simplest interface, suitable for HBase management;
3. Thrift gateway: using thrift serialization technology, it supports C + +, PHP, Python and other languages, and is suitable for other heterogeneous systems to access HBase table data online;
4. Rest gateway: support rest style HTTP API to access HBase, lifting language restrictions;
5. MapReduce: directly use MapReduce job to process HBase data;
6. Use pig / hive to process HBase data.
Usage of common Java APIs:
1. Load configuration
2. Table creation, table information modification and table deletion
3. Add record
4. Query according to rowkey
5. Query, specify criteria and rowkey interval query
summary
The above is the Java API of HBase access method introduced by Xiaobian. I hope it will be helpful to you. If you have any questions, please leave me a message, and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!