Mosaic
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Mosaic
mosaic-client
/
dev.catbit.mosaic.client.data.data_sources.database.daos
/
SegmentedDataDao
Segmented
Data
Dao
interface
SegmentedDataDao
Members
Functions
delete
Link copied to clipboard
abstract
suspend
fun
delete
(
segmentKey
:
String
,
dataKey
:
String
)
delete
By
Ids
Link copied to clipboard
abstract
suspend
fun
deleteByIds
(
segmentKey
:
String
,
dataKeys
:
List
<
String
>
)
get
Link copied to clipboard
abstract
suspend
fun
get
(
segmentKey
:
String
,
dataKey
:
String
)
:
SegmentedDataEntity
?
get
All
Link copied to clipboard
abstract
suspend
fun
getAll
(
segmentKey
:
String
)
:
List
<
SegmentedDataEntity
>
get
By
Ids
Link copied to clipboard
abstract
suspend
fun
getByIds
(
segmentKey
:
String
,
dataKeys
:
List
<
String
>
)
:
List
<
SegmentedDataEntity
>
upsert
Link copied to clipboard
abstract
suspend
fun
upsert
(
entity
:
SegmentedDataEntity
)
wipe
Link copied to clipboard
abstract
suspend
fun
wipe
(
segmentKey
:
String
)