Joining two ResultSets from HBase in Java?

这一生的挚爱 提交于 2019-12-10 18:08:45

问题


Is it possible to join two or more resultsets which are retrieved from hbase in java?


回答1:


No it's not possible to join JDBC result sets.

However you can get their results and manually combine them if they are compatible. (if they are of the same entity).

EDIT :

If you simply need to combine two lists of the same type you can do

list1.addAll(list2);


来源:https://stackoverflow.com/questions/16767188/joining-two-resultsets-from-hbase-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!