本文整理匯總了Java中android.arch.persistence.room.Insert類的典型用法代碼示例。如果您正苦於以下問題:Java Insert類的具體用法?Java Insert怎麽用?Java Insert使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Insert類屬於android.arch.persistence.room包,在下文中一共展示了Insert類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: insertAll
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert
void insertAll(FeedEntry... feedEntries);
示例2: saveUser
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
void saveUser(User userToken);
示例3: save
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
void save(User token);
示例4: saveMessage
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
void saveMessage(Message message);
示例5: insertAll
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
long[] insertAll(List<CityEntity> cities);
示例6: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
public abstract void insert(RepoSearchResult result);
示例7: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
public abstract void insert(Album... artists);
示例8: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
public abstract void insert(Artist... artists);
示例9: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
long insert(LoginBean loginBean);
示例10: saveAll
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
void saveAll(TimeEntry... timeEntries);
示例11: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert
long insert(Moment moment);
示例12: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert
void insert(Word word);
示例13: insert
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert
public abstract long insert(Attribute attribute);
示例14: add
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert(onConflict = OnConflictStrategy.REPLACE)
long add(Comment comment);
示例15: insertAll
import android.arch.persistence.room.Insert; //導入依賴的package包/類
@Insert
void insertAll(User... users);