public List<FieldSchema> getAllCols() {
    ArrayList<FieldSchema> f_list = new ArrayList<FieldSchema>();
    f_list.addAll(getCols());
    f_list.addAll(getPartCols());
    return f_list;
  }
Returns a list of all the columns of the table (data columns + partition
columns in that order.

@return List&lt;FieldSchema&gt;
ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java