@Override
  public List<Object> getAll() {
    List<Object> r = new ArrayList<Object>(this.size());
    for (int i = 0; i < this.size(); i++){
      r.add(i, get(i));
    }
    return r;
  }
@Test
  public void testGetAll() throws Exception {
    HCatRecord r = new LazyHCatRecord(getHCatRecord(), getObjectInspector());
    List<Object> list = r.getAll();
    Assert.assertEquals(INT_CONST, ((Integer) list.get(0)).intValue());
    Assert.assertEquals(LONG_CONST, ((Long) list.get(1)).longValue());
    Assert.assertEquals(DOUBLE_CONST, ((Double) list.get(2)).doubleValue(), 0);
    Assert.assertEquals(STRING_CONST, list.get(3));
  }