We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Hbase Queries in c#

Is it possible from the c# API to query data rather than returning a number of records?

#region Fetch result

HBaseOperation.FetchSize = 100;
HBaseResultSet result = HBaseOperation.ScanTable(tableName, con);

#endregion Fetch result


Like this from the samples in the big data managment studio
scan 'Customers',{ FILTER => "ValueFilter(=,'binaryprefix:Elizabeth Lincoln')"}


3 Replies

NK Nandhini K Syncfusion Team October 13, 2015 12:26 PM UTC

Hi Brett,


We would like to inform you that we have logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. The feature implementation would also greatly depend on the factors such as code compatibility and complexity.


Please log on to our support website to check for further updates:

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 


Regards,

Nandhini Kumar.



BA Baskaran Syncfusion Team October 13, 2015 12:53 PM UTC

Hi Brett,
We are delivering preview builds with 10 days release cycle and we are about to rollout a preview build this week.Your requested feature will be included  in next preview/final release at end of the month.We will update this thread once we have included the feature.
Regards,
Baskaran


BA Baskaran Syncfusion Team November 3, 2015 06:48 AM UTC

Hi Brett,

 

We have added support for filtering in scan table method in “Syncfusion.ThriftHBase.Base” API in latest preview build 2.10.0.10 . 

Sample location:  Installed_Drive:\Syncfusion\BigDataSDK\2.10.0.10\Samples\C# HBase Samples\WPF\Samples\Filter\CS


Code snippet:

var filters = new List<string>()

              {

"SingleColumnValueFilter('info','FULLNAME',=,'binaryprefix:Katherine')","PrefixFilter('1002')"

              };

HBaseResultSet result = HBaseOperation.ScanTable(tableName, filters, con);





Thanks,
Baskaran V


Loader.
Live Chat Icon For mobile
Up arrow icon