How can I use a Hbase database with C#/VB.NET ? (use=connect, query, get the result, insert, update, delete)
I don't find useful answers with google.
How can I use a Hbase database with C#/VB.NET ? (use=connect, query, get the result, insert, update, delete)
I don't find useful answers with google.
I've just published HBase C# Thrift binding as nuget package. Alternatively you can grab code/binaries from bitbucket: https://bitbucket.org/vadim/hbase-sharp/downloads
HBase C# Thrift works nicely. Just download the latest thrift-0.9.2.exe, thrift.dll and Hbase.thrift file on your windows machine. You can generate the required c# files with the following command:
You will get the following files as a result:
Include them in your project and add thrift.dll to your project references. Short sample code (list tables and insert/update a cell value):
The above code works nicely with the Hbase installation of the latest Hortonworks Data Platform, running on CentOS 7.
From the description:
There's a protobuf port for .NET and there are many XML manipulation APIs built-in.