Package nl.b3p.formendpoint.repository
Interface RoadsectionRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Roadsection,Long>,org.springframework.data.jpa.repository.JpaRepository<Roadsection,Long>,org.springframework.data.repository.PagingAndSortingRepository<Roadsection,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<Roadsection>,org.springframework.data.repository.Repository<Roadsection,Long>
public interface RoadsectionRepository extends org.springframework.data.jpa.repository.JpaRepository<Roadsection,Long>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteByObjectGuid(String object_guid)Optional<Roadsection>findById(Long id)Optional<Roadsection>findByObjectGuid(String object_guid)List<Roadsection>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
-
-
-
-
Method Detail
-
findByObjectGuid
Optional<Roadsection> findByObjectGuid(String object_guid)
-
findById
Optional<Roadsection> findById(Long id)
- Specified by:
findByIdin interfaceorg.springframework.data.repository.CrudRepository<Roadsection,Long>
-
deleteByObjectGuid
void deleteByObjectGuid(String object_guid)
-
findWithinPoint
@Query("Select t from #{#entityName} t where intersects(t.geometrie, :area) = true") List<Roadsection> findWithinPoint(org.locationtech.jts.geom.Geometry area)
-
-