Impetus/kundera

how to use select **** limit in hbase-2

daddyauden opened this issue · 0 comments

String queryString = "Select i from xxx i where i.type = xxx and i.name = xxx";

Query query = em.createQuery(queryString).setFirstResult(0).setMaxResults(5);

List<?> resultList = query.getResultList();

real data is > 10000, but the query result is just only one, so how to write the sql?