()
| 265 | |
| 266 | //TODO could generate a faster getAll in the code |
| 267 | @Override |
| 268 | public List<Object> getAll() { |
| 269 | List<Object> l = Lists.newArrayListWithCapacity(size()); |
| 270 | for (int i = 0; i < size(); i++) { |
| 271 | try { |
| 272 | l.add(get(i)); |
| 273 | } catch (ExecException e) { |
| 274 | throw new RuntimeException("Error getting index " + i + " from SchemaTuple", e); |
| 275 | } |
| 276 | } |
| 277 | return l; |
| 278 | } |
| 279 | |
| 280 | public abstract boolean isSpecificSchemaTuple(Object o); |
| 281 |