public List<Object> getFieldsAsList() {
    if (!parsed) {
      parse();
    }
    if (cachedList == null) {
      cachedList = new ArrayList<Object>();
    } else {
      cachedList.clear();
    }
    for (int i = 0; i < fields.length; i++) {
      cachedList.add(uncheckedGetField(i));
    }
    return cachedList;
  }
Get the values of the fields as an ArrayList.

@return The values of the fields as an ArrayList.
serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyStruct.java