package Ġcom . destruct o . s ush i . room Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room .* Ċ import Ġcom . destruct o . s ush i . model . mal . anime Ranking . An ime Ranking Data Ċ Ċ @ Dao Ċ interface ĠAn ime Ranking Dao Ġ{ ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġan ime _ ranking _ list ĠORDER ĠBY Ġrank ĠASC ") ĊĠĠĠ Ġfun ĠgetAll An ime Ranking (): ĠLive Data < List < An ime Ranking Data >> ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert An ime Ranking ( anime Ranking : ĠAn ime Ranking Data ?) ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert An ime Ranking List ( anime Ranking : ĠList < An ime Ranking Data ?> ) ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġan ime _ ranking _ list ") ĊĠĠĠ Ġfun Ġclear () ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete An ime Ranking ( anime Ranking : ĠAn ime Ranking Data ) Ċ }