Batch createBatch(List<BaseHit> listOfHits) { /// Convert here the list of base to batch object return Batch(listOfHits); }