(final ArrayList<ArrayList<KeyValue>> rows)
| 2929 | |
| 2930 | class MetaScanCB implements Callback<Void, ArrayList<ArrayList<KeyValue>>> { |
| 2931 | @Override |
| 2932 | public Void call(final ArrayList<ArrayList<KeyValue>> rows) |
| 2933 | throws Exception { |
| 2934 | final ArrayList<KeyValue> row = (rows == null || rows.isEmpty()) |
| 2935 | ? new ArrayList<KeyValue>(0) : rows.get(0); |
| 2936 | scanner.close(); |
| 2937 | deferred.callback(row); |
| 2938 | return null; |
| 2939 | } |
| 2940 | @Override |
| 2941 | public String toString() { |
| 2942 | return "scanMeta.MetaScanCB"; |