package Ġinfo . mqtt . android . ext sample . room Ċ Ċ import Ġandroidx . room .* Ċ import Ġinfo . mqtt . android . ext sample . room . entity . Subscription Entity Ċ Ċ @ Dao Ċ interface ĠSubscription Dao Ġ{ ĊĊĠĠĠ Ġ@ get : Query (" SELECT Ġ* ĠFROM ĠSubscription Entity ") ĊĠĠĠ Ġval Ġall : ĠList < Subscription Entity > ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( subscription Entity : ĠSubscription Entity ): ĠLong ĊĊĠĠĠ Ġ@ Update ĊĠĠĠ Ġfun Ġupdate All ( var arg Ġentities : ĠSubscription Entity ) ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġfun Ġdelete ( subscription Entity : ĠSubscription Entity ) Ċ } Ċ