インタフェース TweetTextRepository
- すべてのスーパーインタフェース:
org.springframework.data.repository.CrudRepository<TweetText,String>
,org.springframework.data.mongodb.repository.MongoRepository<TweetText,String>
,org.springframework.data.repository.PagingAndSortingRepository<TweetText,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<TweetText>
,org.springframework.data.repository.Repository<TweetText,String>
@Repository public interface TweetTextRepository extends org.springframework.data.mongodb.repository.MongoRepository<TweetText,String>
The interface that manages tweet text repository.
- 導入されたバージョン:
- 1.0.0
-
メソッドの概要
修飾子とタイプ メソッド 説明 List<TweetText>
findByTextCode(int textCode)
Returns the list of tweet linked to the text code passed as an argument.TweetText
findByTextCodeAndLanguageCode(int textCode, int languageCode)
Returns the tweet linked to the text code and language code passed as arguments.TweetText
findByTypeCodeAndLanguageCode(int typeCode, int languageCode)
Returns the tweet text linked to the type code and langauge code passed as an argument.インタフェースから継承されたメソッド org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAllById, findById, save
インタフェースから継承されたメソッド org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, findAll, insert, insert, saveAll
インタフェースから継承されたメソッド org.springframework.data.repository.PagingAndSortingRepository
findAll
インタフェースから継承されたメソッド org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
メソッドの詳細
-
findByTextCode
Returns the list of tweet linked to the text code passed as an argument.- パラメータ:
textCode
- The text code- 戻り値:
- The list of tweet
-
findByTextCodeAndLanguageCode
Returns the tweet linked to the text code and language code passed as arguments.- パラメータ:
textCode
- The text codelanguageCode
- The language code- 戻り値:
- The tweet
-
findByTypeCodeAndLanguageCode
Returns the tweet text linked to the type code and langauge code passed as an argument.- パラメータ:
typeCode
- The type codelanguageCode
- The language code- 戻り値:
- The tweet
-