add new function for hbase scan