PutDocumentsRequest
public
final
class
PutDocumentsRequest
extends Object
java.lang.Object | |
↳ | android.app.appsearch.PutDocumentsRequest |
Encapsulates a request to index documents into an AppSearchSession
database.
Summary
Nested classes | |
---|---|
class |
PutDocumentsRequest.Builder
Builder for |
Public methods | |
---|---|
List<GenericDocument>
|
getGenericDocuments()
Returns a list of |
List<GenericDocument>
|
getTakenActionGenericDocuments()
Returns a list of |
Inherited methods | |
---|---|
Public methods
getGenericDocuments
public List<GenericDocument> getGenericDocuments ()
Returns a list of GenericDocument
objects that are part of this request.
Returns | |
---|---|
List<GenericDocument> |
This value cannot be null . |
getTakenActionGenericDocuments
public List<GenericDocument> getTakenActionGenericDocuments ()
Returns a list of GenericDocument
objects containing taken action metrics that are
part of this request.
See Builder.addTakenActionGenericDocuments(GenericDocument...)
.
Returns | |
---|---|
List<GenericDocument> |
This value cannot be null . |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-12-18 UTC.