Example #1
0
 static void filter(Table table, String filterStr) throws Exception {
   List<HMap> list = table.readAll(Filter.parse(filterStr));
   System.out.println(JsonWriter.writeToString(JsonUtils.ctx(), list));
 }
Example #2
0
 static void readAll(Table table) throws Exception {
   Filter filter = Filter.parse("*");
   List<HMap> list = table.readAll(filter);
   System.out.println(JsonWriter.writeToString(JsonUtils.ctx(), list));
 }