Interface RedditInstantPropertyRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<RedditInstantProperty,
,RedditInstantProperty.RedditInstantPropertyName> org.springframework.data.jpa.repository.JpaRepository<RedditInstantProperty,
,RedditInstantProperty.RedditInstantPropertyName> org.springframework.data.repository.ListCrudRepository<RedditInstantProperty,
,RedditInstantProperty.RedditInstantPropertyName> org.springframework.data.repository.ListPagingAndSortingRepository<RedditInstantProperty,
,RedditInstantProperty.RedditInstantPropertyName> org.springframework.data.repository.PagingAndSortingRepository<RedditInstantProperty,
,RedditInstantProperty.RedditInstantPropertyName> org.springframework.data.repository.query.QueryByExampleExecutor<RedditInstantProperty>
,org.springframework.data.repository.Repository<RedditInstantProperty,
RedditInstantProperty.RedditInstantPropertyName>
@Repository
public interface RedditInstantPropertyRepository
extends org.springframework.data.jpa.repository.JpaRepository<RedditInstantProperty,RedditInstantProperty.RedditInstantPropertyName>
Repository interface for managing
RedditInstantProperty
entities.
This interface extends JpaRepository to provide CRUD operations and custom queries.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the value of a RedditInstantProperty by its name.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
-
getValue
@Query("select value from RedditInstantProperty where name = :name") Optional<Instant> getValue(RedditInstantProperty.RedditInstantPropertyName name) Retrieves the value of a RedditInstantProperty by its name.
-