PutDocumentsRequest
class PutDocumentsRequest
Encapsulates a request to index documents into an AppSearchSession database.
Documents added to the request can be instances of classes annotated with androidx.appsearch.annotation.Document or instances of GenericDocument.
| See also | |
|---|---|
putAsync |
Summary
Nested types |
|---|
|
Builder for |
Public functions |
|
|---|---|
(Mutable)List<GenericDocument!> |
Returns a list of |
(Mutable)List<GenericDocument!> |
Returns a list of |
Public functions
getGenericDocuments
fun getGenericDocuments(): (Mutable)List<GenericDocument!>
Returns a list of GenericDocument objects that are part of this request.
getTakenActionGenericDocuments
fun getTakenActionGenericDocuments(): (Mutable)List<GenericDocument!>
Returns a list of GenericDocument objects containing taken action metrics that are part of this request.
See addTakenActions.