Interface IBatch2WorkChunkMetadataViewRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Batch2WorkChunkMetadataView,String>, org.springframework.data.jpa.repository.JpaRepository<Batch2WorkChunkMetadataView,String>, org.springframework.data.repository.ListCrudRepository<Batch2WorkChunkMetadataView,String>, org.springframework.data.repository.ListPagingAndSortingRepository<Batch2WorkChunkMetadataView,String>, org.springframework.data.repository.PagingAndSortingRepository<Batch2WorkChunkMetadataView,String>, org.springframework.data.repository.query.QueryByExampleExecutor<Batch2WorkChunkMetadataView>, org.springframework.data.repository.Repository<Batch2WorkChunkMetadataView,String>

public interface IBatch2WorkChunkMetadataViewRepository extends org.springframework.data.jpa.repository.JpaRepository<Batch2WorkChunkMetadataView,String>
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.domain.Page<Batch2WorkChunkMetadataView>
    fetchWorkChunkMetadataForJobInStates(org.springframework.data.domain.Pageable thePageRequest, String theInstanceId, Collection<WorkChunkStatusEnum> theStates)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • fetchWorkChunkMetadataForJobInStates

      @Query("SELECT v FROM Batch2WorkChunkMetadataView v WHERE v.myInstanceId = :instanceId AND v.myStatus IN :states ORDER BY v.myInstanceId, v.myTargetStepId, v.myStatus, v.mySequence, v.myId ASC") org.springframework.data.domain.Page<Batch2WorkChunkMetadataView> fetchWorkChunkMetadataForJobInStates(org.springframework.data.domain.Pageable thePageRequest, @Param("instanceId") String theInstanceId, @Param("states") Collection<WorkChunkStatusEnum> theStates)