Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of the main methods of C # querying HBase through Thrift connection

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. Get (byte [] tableName,byte [] row,byte [] column,Dictionary attribute)

The get method can query the latest version of the value corresponding to the specified table name, row key, and column name. The method returns a value of type List.

2. GetRow (byte [] tableName,byte [] row,Dictionary attribute)

The getRow method can query the specified table name. The row key corresponds to the latest version of the value of all column names. The method returns a value of type List.

3. GetRows (byte [] tableName,List rows,Dictionary attribute)

The getRows method can query the specified table name, the latest version of the value of all column names corresponding to multiple row keys, and the return value type is List.

4. GetRowOrBefore (byte [] tableName,byte [] row,byte [] family)

The getRowOrBefore method can query the specified table name. The row key corresponds to the latest version of the values of all columns in all column families. The method returns a value of type List.

5. GetRowTs (byte [] tableName,byte [] row,long timestamp,Dictionary attribute)

The getRowTs method can query the values of all column names corresponding to the specified table name, row key and version before the specified timestamp. The return value type of the method is List.

6. GetRowsTs (byte [] tableName,byte [] row,long timestamp,Dictionary attribute)

The getRowsTs method can query the values of all column names corresponding to the specified table name, multiple row keys and versions before the specified timestamp. The return value type of the method is List.

7. GetRowWithColumns (byte [] tableName,byte [] row,List columns,Dictionary attribute)

The getRowWithColumns method can query the latest version of the value corresponding to the specified table name, row key and multiple column names. The return value type of the method is List.

8. GetRowsWithColumns (byte [] tableName,List rows,List columns,long timestamp,Dictionary attribute)

The getRowsWithColumns method can query the latest version of the value corresponding to the specified table name, multiple row keys and multiple column names. The return value type of the method is List.

9. GetRowWithColumnsTs (byte [] tableName,byte [] row,List columns,Dictionary attribute)

The get method can query the specified table name, row key, specified timestamp and multiple column names. The return value type of the method is List.

10. GetRowsWithColumnsTs (byte [] tableName,List [byte] rows,List columns,Dictionary attribute)

The getRowsWithColumnsTs method can query the specified table name, multiple row keys, specified timestamps, and multiple column names. The return value type of the method is List.

11. GetVer (byte [] tableName,byte [] row,byte [] column,int numVersions,Dictionary attribute)

The getVer method can query the data of the latest numVersions versions corresponding to the specified table name, row key and specified column name. The method returns a value of type List.

12. GetVer (byte [] tableName,byte [] row,byte [] column,long timestamp,int numVersions,Dictionary attribute)

The getVer method can query the data of the most recent version of timestamp before the specified table name, row key, and specified column name. The method returns a value of type List.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 259

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report