code: public static <T> Map<ByteBuffer, List<T>> transformThriftResult(
              Map<ByteBuffer, List<ColumnOrSuperColumn>> coscResultMap, ColumnFamilyType columnFamilyType, ThriftRow row)
      {
  
          Map<ByteBuffer, List<T>> output = new HashMap<ByteBuffer, List<T>>();
  
          for (ByteBuffer key : coscResultMap.keySet())
          {
              output.put(key, (List<T>) transformThriftResult(coscResultMap.get(key), columnFamilyType, row));
          }
  
          return output;
      }
docs: Transforms data retrieved as result via thrift to a Map whose content
  type is determined by {@link ColumnFamilyType}.
  
  @param <T> the generic type
  @param coscResultMap the cosc result map
  @param columnFamilyType the column family type
  @param row the row
  @return the map