code: public static Row getRowFromCells(Cells cells) {
          Object[] values = cells.getCellValues().toArray();
          return RowFactory.create(values);
      }
docs: Creates a SparkSQL Row object from a Stratio Cells object
  
  @param cells Stratio Cells object for transforming.
  @return SparkSQL Row created from Cells.