本文整理汇总了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);