Interface QCEntryRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<QCEntry,​java.lang.Long>, IridaJpaRepository<QCEntry,​java.lang.Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<QCEntry>, org.springframework.data.repository.PagingAndSortingRepository<QCEntry,​java.lang.Long>, org.springframework.data.repository.Repository<QCEntry,​java.lang.Long>, org.springframework.data.repository.history.RevisionRepository<QCEntry,​java.lang.Long,​java.lang.Integer>

    public interface QCEntryRepository
    extends IridaJpaRepository<QCEntry,​java.lang.Long>
    Repository for saving and retrieving QCEntry objects
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<QCEntry> getQCEntriesForSample​(Sample sample)
      find all the QCEntry associated with SequencingObjects in a given Sample
      java.util.List<javax.persistence.Tuple> getQCEntriesForSamples​(java.util.List<Sample> samples)
      find all the QCEntry associated with SequencingObjects in a given Sample for a list of Samples.
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

        count, exists, findAll, findAll, findAll, findOne
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll, findAll
      • Methods inherited from interface org.springframework.data.repository.history.RevisionRepository

        findLastChangeRevision, findRevision, findRevisions, findRevisions
    • Method Detail

      • getQCEntriesForSamples

        @Query("SELECT e.sequencingObject.sample.sample.id, e FROM QCEntry e WHERE e.sequencingObject.sample.sample in ?1")
        java.util.List<javax.persistence.Tuple> getQCEntriesForSamples​(java.util.List<Sample> samples)
        find all the QCEntry associated with SequencingObjects in a given Sample for a list of Samples.
        Parameters:
        samples - the List of Samples to get QCEntrys for
        Returns:
        a List of Tuples containing the Sample id and QCEntry