public static Collection<Object[]> names() {
    List<Object[]> names = new ArrayList<Object[]>();
    for (StorageFormatDescriptor descriptor : ServiceLoader.load(StorageFormatDescriptor.class)) {
      String[] formatNames = new String[descriptor.getNames().size()];
      formatNames = descriptor.getNames().toArray(formatNames);
      String[] params = { formatNames[0] };
      names.add(params);
    }
    return names;
  }
Returns a list of the names of storage formats.

@return List of names of storage formats.
ql/src/test/org/apache/hadoop/hive/ql/io/StorageFormats.java