package Ġcom . url short ener . url short ener . repository Ċ Ċ import Ġcom . url short ener . url short ener . model . Url Model Ċ import Ġorg . springframework . data . cassandra . repository . Allow Filtering Ċ import Ġorg . springframework . data . cassandra . repository . C assandra Repository Ċ import Ġorg . springframework . stereotype . Repository Ċ Ċ @ Repository Ċ interface ĠUrl Repository Ġ: ĠCassandra Repository < Url Model , ĠLong > Ġ{ ĊĊĠĠĠ Ġ@ Allow Filtering ĊĠĠĠ Ġfun ĠfindBy Long Url ( long url : ĠString ): ĠList < Url Model ?> ĊĊĠĠĠ Ġ@ Allow Filtering ĊĠĠĠ Ġfun ĠfindBy Short Url ( short url : ĠString ?): ĠList < Url Model ?> ? ĊĊĠĠĠ Ġ@ Allow Filtering ĊĠĠĠ Ġfun Ġfind Url Model By Short Url ( short url : ĠString ?): ĠUrl Model ? ĊĊĠĠĠ Ġ@ Allow Filtering ĊĠĠĠ Ġfun Ġcount Url Model By Short Url ( url Id : ĠString ?): ĠInt Ċ } Ċ