PutDocumentsRequest

public final class PutDocumentsRequest
extends Object

java.lang.Object
   ↳ androidx.appsearch.app.PutDocumentsRequest


Encapsulates a request to index documents into an AppSearchSession database.

Documents added to the request can be instances of classes annotated with Document or instances of GenericDocument.

Summary

Nested classes

class PutDocumentsRequest.Builder

Builder for PutDocumentsRequest objects. 

Public methods

List<GenericDocument> getGenericDocuments()

Returns a list of GenericDocument objects that are part of this request.

Inherited methods

Public methods

getGenericDocuments

public List<GenericDocument> getGenericDocuments ()

Returns a list of GenericDocument objects that are part of this request.

Returns
List<GenericDocument>