hortonworks-spark / shc

The Apache Spark - Apache HBase Connector is a library to support Spark accessing HBase table as external data source or sink.
Apache License 2.0
552 stars 280 forks source link

SHC to access a single row in a table by rowkey #262

Open joeyfaherty opened 6 years ago

joeyfaherty commented 6 years ago

Is it possible to retrieve a record by key instead of doing a full Scan of the table using SHC?

I am using the SHC version 1.1.1-2.1-s_2.11

I see in the logs it retrieves all records, eg. HBaseTableScanRDD:54 - returned 200004 rows from hbase in 3051 ms