Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Realm を正しく使うには
Search
numa08
September 29, 2015
Technology
1.7k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Realm を正しく使うには
Android で Realm を使う際の気をつける点とかを共有@ #realm_jp
numa08
September 29, 2015
More Decks by numa08
See All by numa08
完全ローカル完結のLT文字起し、要約システム
numa08
0
53
Claude Code の /goal コマンドの話
numa08
0
12
FT8の話
numa08
0
26
What/Why/How MVVM on iOS
numa08
3
830
facilio
numa08
0
160
Kotlin でテストを書く
numa08
0
430
Android Testing Bootcamp 4
numa08
0
570
チームの進捗をちゃんと可視化したい話
numa08
1
1.1k
Realmを正しく使うには
numa08
2
440
Other Decks in Technology
See All in Technology
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
280
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
130
コーディングエージェントでM5Stack系の開発を少し試した時の話 / M5 Japan Tour 2026 Autumn 東京
you
PRO
0
110
2026-09-11 【Snowflake World Tour Tokyo 2026】Snowflakeを起点に、AI Agentが自律稼働し続ける未来へ / Driving AI Agents with Snowflake
civitaspo
0
290
2026/09/10 Spring Bootから Jakarta EE/MicroProfileへの移行
megascus
0
300
Sigmaで作る業務アプリ
kazushiro_honma
0
110
「図書館」という名前のままでいいのか -Code4Lib JAPANカンファレンス2026 アンカンファレンス報告- / Code4Lib JAPAN Conference 2026: Unconference Report
ykiyota
0
160
全員がプロダクトへ向き合う組織を持続成長させるために——組織づくりのフライホイールと4象限 / The Flywheel Model and Four Quadrants for Organizational Design
hiro_torii
4
960
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
1
300
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
3
970
Screen Lens - 今見てる画面を翻訳する
komagata
0
230
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
130
Featured
See All Featured
Marketing to machines
jonoalderson
1
5.8k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
Music & Morning Musume
bryan
47
7.4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
380
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
320
Building an army of robots
kneath
306
46k
KATA
mclloyd
PRO
35
15k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
520
Agile that works and the tools we love
rasmusluckow
331
22k
Visualization
eitanlees
152
17k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
310
Transcript
3FBMNΛ ਖ਼͘͠͏ʹ "OESPJEฤ !OVNB SFBMN@KQ
!OVNB IUUQOVNBIBUFCMPKQ
DPWFMMJOF --$ GFBUIFSܰշͳUXJUUFSΫϥΠΞϯτ
3FBMNΛਖ਼͘͠͏ʹ 3FBMNߴͳ%#.4Ͱ͋Δ 3FBMNଞͷ%#.4ͱൺֱͯ͠ѹతʹߴͰ͋Δɻ ͔͠͠ɺଞͷ%#.4ʹແ੍͍ҙ͕͋Δɻ εϨουؒ௨৴ɺίϯϙʔωϯτؒ௨৴ɺςετFUDʜ "OESPJEͰ3FBMNΛͬͨͷհ UXJUUFSΫϥΠΞϯτGFBUIFSͰ3FBMNΛͬͨɻ πΠʔτͷಡΈࠐΈɺදࣔؔ࿈ʹ͍ͭͯϋϚͬͨΛհɻ
ΞδΣϯμ ઃܭ w ࠓͷઃܭ w ੲͷઃܭ w ੲͷઃܭͷࣦഊ ςετ
w ςετͷ5JQT
ࠓͷઃܭ
ੲͷઃܭ
πΠʔτͷཧΦϒδΣΫτ ࠓ ੲ class Tweet extends RealmObject { String
text; Date createAt; String userName; public Tweet(){} public Tweet(String text, Date createAt, String userName) { this.text = text; this.createAt = createAt; this.userName = userName; } } class Tweet implements Content { String text; Date createAt; String userName; // RealmTweet extends RealmObject public Tweet(RealmTweet obj){ this.text = obj.getText(); this.createAt = obj.getCreateAt(); this.userName = obj.getUserName(); } }
ੲͷઃܭ ޓੑ͕ཉ͔ͬͨ͠ 3FBMNҎ֎ͷ%#.403.ͷ࠾༻ݕ౼͍ͯͨ͠ɻ ͍ͭͰΓ͑ΒΕΔΑ͏ʹɺޓੑΛҙ͍ࣝͯͨ͠ɻ
ੲͷઃܭͷμϝͳ ϝϞϦ͍͗͢ ͔ͳΓେྔͷΦϒδΣΫτΛϝϞϦ্ʹల։͢ΔͷͰɺ ͕ٻΊΒΕͨɻ 3FBMNͷϝϦοτΛ׆͔ͤͯͳ͍ ಠࣗΦϒδΣΫτͷల։ʹΑͬͯɺಈ࡞͕͘ͳͬͨɻ Ԇϩʔυ($Λར༻͠ͳ͍ͷͰɺແҙຯͳϝϞϦফඅʹܨ͕ͬͨɻ ޓੑΛࣺͯͯ3FBMNΛ͏ํࣜʹํస
εϨουؒ௨৴ ੲ ࠓ ಡΈࠐΈ όοΫάϥϯυͰ࣮ߦ ॻ͖ࠐΈ όοΫάϥϯυͰ࣮ߦ εϨουؒ௨৴ ಠࣗΦϒδΣΫτʹల։
ಡΈࠐΈ 6*εϨουͰ࣮ߦ ॻ͖ࠐΈ όοΫάϥϯυͰ࣮ߦ εϨουؒ௨৴ ࣝผࢠɺΫΤϦΛΓͱΓɻ ࣍ͷεϨουͰΫΤϦΛ࣮ߦɻ
ίϯϙʔωϯτؒ௨৴ ੲ ࠓ ίϯϙʔωϯτؒ௨৴ ಠࣗͷ1BSDFMBCMFͳΦϒδΣΫτʹ ల։ ίϯϙʔωϯτؒ௨৴ ࣝผࢠɺΫΤϦΛΓͱΓɻ ࣍ͷίϯϙʔωϯτͰΫΤϦ࣮ߦɻ
ςετͷ ઃܭ w +7.Ͱςετ͕Ͱ͖ͳ͍ w ϑΝΠϧআ࣌ͷҙࣄ߲ w 6*εϨουςετͷҙࣄ߲ εϨουؒ௨৴ɺίϯϙʔωϯτؒ௨৴ͷ੍ݶ͋ͬͯɺςετ࣮ߦҙ͕ඞཁ
ͱͳΔɻ
ςετͷ +7.্Ͱςετ͕Ͱ͖ͳ͍ +7.্ͷςετͰωΟςΟϒϥΠϒϥϦ͕ಡΈࠐΊͳ͍ͷͰɺ3FBMNΠϯελϯ εΞΫηεͰ͖ͳ͍ɻ *OTUSVNFOUBUJPO5FTUͰ͋Δඞཁ͕͋Δɻ ิɹ 3FBMN0CKFDUͷαϒΫϥεΛΠϯελϯεԽ͢Δͷɺ+7.্ͰՄೳɻ ίϯετϥΫλͷςετɺ3FBMNͷಡΈॻ͖ͷແ͍ςετͳΒେৎɻ
ςετͷ ϑΝΠϧআ࣌ͷҙࣄ߲ 3FBMNͷ%#ϑΝΠϧશͯͷίωΫγϣϯ͕DMPTF͞Ε͍ͯͳ͍ͱআͰ͖ͣɺ ྫ֎͕ඈͿɻ !"GUFSͰআΛ͢Δ߹ʹɺ࣮֬ʹDMPTF͕ݺΕΔΑ͏ʹ͢Δඞཁ͕͋Δɻ ςετʹࣦഊͯ͠DMPTF͠Εͯ!"GUFS͕ݺΕΔͱྫ֎͕ݟ͘ͳΔɻ w ςετϝιουͰUSZpOBMMZ USZXJUISFTPVSDFT
ΛͬͯDMPTF͢Δ w !"GUFSͰDMPTF͔ͯ͠ΒআΛ͢Δ
ςετͷ !6*5ISFBE5FTUͷҙ !6*5ISFBE5FTU!#FGPSF !"GUFSͱҧ͏εϨουͰ࣮ߦ͞ΕΔɻ ͦͷͨΊɺ3FBMNΠϯελϯεͳͲɺςετϝιουͰ༻ҙɺ আ͢Δඞཁ͕͋Δɻ