package Ġcom . hg . kafka . helper . domain . repository Ċ Ċ import Ġcom . hg . kafka . helper . domain . entity . Host Info Ċ import Ġorg . springframework . data . mongodb . repository . Mongo Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ import Ġjava . util .* Ċ Ċ @ Repository Ċ interface ĠHost Info Repository Ġ: ĠMongo Repository < Host Info , ĠString > Ġ{ ĊĠĠĠ Ġfun ĠfindAll By Hash key ( hash key : ĠString ?): ĠList < Host Info > ĊĠĠĠ Ġfun Ġfind One By HostName ( host Name : ĠString ?): ĠOptional < Host Info > ĊĠĠĠ Ġfun ĠfindAll By UpdatedAt LessThan ( UpdatedAt : ĠDate ): ĠList < Host Info > Ċ } Ċ