Example #1
0
 public Object getAt(int i) throws HiveException {
   try {
     elems.get(i, wRow);
     Object o = serDe.deserialize(wRow);
     return o;
   } catch (SerDeException se) {
     throw new HiveException(se);
   }
 }
Example #2
0
 public Object getWritableAt(int i) throws HiveException {
   elems.get(i, wRow);
   return wRow;
 }
Example #3
0
 public void reset() throws HiveException {
   sz = 0;
   elems.reset(0);
 }
Example #4
0
 public void append(Writable o) throws HiveException {
   elems.append(o);
   sz++;
 }