android-paging
/
com.squareup.sqldelight.android.paging
/
QueryDataSourceFactory
Query
Data
Source
Factory
class
QueryDataSourceFactory
<
RowType
:
Any
>(queryProvider: (limit:
Long
, offset:
Long
) ->
Query
<
RowType
>, countQuery:
Query
<
Long
>, transacter:
Transacter
) :
DataSource.Factory
<
Int
,
RowType
>
Content copied to clipboard
Functions
Functions
create
Link copied to clipboard
open override fun
create
():
PositionalDataSource
<
RowType
>
Content copied to clipboard
map
Link copied to clipboard
@
NonNull
()
open fun <
ToValue
:
Any
>
map
(
@
NonNull
()
p0:
Function
<
RowType
,
ToValue
>):
DataSource.Factory
<
Int
,
ToValue
>
Content copied to clipboard
mapByPage
Link copied to clipboard
@
NonNull
()
open fun <
ToValue
:
Any
>
mapByPage
(
@
NonNull
()
p0:
Function
<
MutableList
<
RowType
>,
MutableList
<
ToValue
>>):
DataSource.Factory
<
Int
,
ToValue
>
Content copied to clipboard