Dream------hbase--0.94 version and 0.98/1.x version API changes

Source: Internet
Author: User

Dream------hbase--0.94 version and 0.98/1.x version API changes

Online many say Getqualifier, GetValue, GetRow was. Array instead of, actually not.

1. Internalscanner is a class that is used on the server side. The argument that his next method needs is a cell type. The keyvalue cannot be used. Getqualifier---Return column-was cellutil.clonequalifier (cell) Instead of Getqualifierarray---returns the value of the column GetValue---be cellutil.clonevalue (cell) instead of GetRow---be cellutil.clonerow (cell) instead of get .. The series are basically replaced with Cellutil, not online said to be ... Array (Getqualifierarray, etc.) instead. Note: Getqualifier is not replaced by Getqualifierarray 2, Htableinterface changed to table (import Org.apache.hadoop.hbase.client.Table 3, Hconnection changed to Connectionhconnectionmanager changed to ConnectionFactory 4, Put.add became AddColumn 5, Hbaseadmin changed to admin.

Dream------hbase--0.94 version and 0.98/1.x version API changes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.