Interface HedgeRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Hedge,​Long>, org.springframework.data.jpa.repository.JpaRepository<Hedge,​Long>, org.springframework.data.repository.PagingAndSortingRepository<Hedge,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Hedge>, org.springframework.data.repository.Repository<Hedge,​Long>

    public interface HedgeRepository
    extends org.springframework.data.jpa.repository.JpaRepository<Hedge,​Long>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deleteByObjectGuid​(String object_guid)  
      Optional<Hedge> findById​(Long id)  
      Optional<Hedge> findByObjectGuid​(String object_guid)  
      List<Hedge> findWithinPoint​(org.locationtech.jts.geom.Geometry area)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

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

        count, exists, findAll, findOne
    • Method Detail

      • findById

        Optional<Hedge> findById​(Long id)
        Specified by:
        findById in interface org.springframework.data.repository.CrudRepository<Hedge,​Long>
      • deleteByObjectGuid

        void deleteByObjectGuid​(String object_guid)
      • findWithinPoint

        @Query("Select t from #{#entityName} t where intersects(t.geometrie, :area) = true")
        List<Hedge> findWithinPoint​(org.locationtech.jts.geom.Geometry area)