android.arch.persistence.room.Insert Java Examples
The following examples show how to use
android.arch.persistence.room.Insert.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BlockUrlDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(BlockUrl... blockUrls);
Example #2
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquake(Earthquake earthquake);
Example #3
Source File: LocationDao.java From background_location_updates with Apache License 2.0 | 4 votes |
@Insert void insertAll(LocationEntity... entities);
Example #4
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquakes(List<Earthquake> earthquakes);
Example #5
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquake(Earthquake earthquake);
Example #6
Source File: AppInfoDao.java From SABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insertAll(List<AppInfo> apps);
Example #7
Source File: HoardDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert public void insertHoard(Hoard hoard);
Example #8
Source File: HoardDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertHoards(List<Hoard> hoards);
Example #9
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquake(Earthquake earthquake);
Example #10
Source File: MovieDao.java From Dagger2-Sample with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) long[] insertMovies(List<MovieEntity> movies);
Example #11
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquakes(List<Earthquake> earthquakes);
Example #12
Source File: AppInfoDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insertAll(List<AppInfo> apps);
Example #13
Source File: DisabledPackageDao.java From notSABS with MIT License | 4 votes |
@Insert void insertAll(List<DisabledPackage> disabledPackages);
Example #14
Source File: AppPermissionDao.java From SABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insertAll(List<AppPermission> appPermissions);
Example #15
Source File: FirewallWhitelistedPackageDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insertAll(List<FirewallWhitelistedPackage> firewallWhitelistedPackages);
Example #16
Source File: AppInfoDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(AppInfo info);
Example #17
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquakes(List<Earthquake> earthquakes);
Example #18
Source File: WhiteUrlDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(WhiteUrl whiteUrl);
Example #19
Source File: AppPermissionDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insertAll(List<AppPermission> appPermissions);
Example #20
Source File: AppPermissionDao.java From notSABS with MIT License | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) void insert(AppPermission appPermission);
Example #21
Source File: DaoAccess.java From RoomDb-Sample with Apache License 2.0 | 4 votes |
@Insert Long insertTask(Note note);
Example #22
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #23
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #24
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #25
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #26
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #27
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #28
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #29
Source File: PortfolioRepository.java From Building-Professional-Android-Applications with MIT License | 4 votes |
@Insert void insert(StockPortfolioItem item);
Example #30
Source File: EarthquakeDAO.java From Wrox-ProfessionalAndroid-4E with Apache License 2.0 | 4 votes |
@Insert(onConflict = OnConflictStrategy.REPLACE) public void insertEarthquake(Earthquake earthquake);