Package com.azure.search.documents.util
Class AutocompletePagedResponse
java.lang.Object
com.azure.core.http.rest.PagedResponseBase<Void,AutocompleteItem>
com.azure.search.documents.util.AutocompletePagedResponse
- All Implemented Interfaces:
com.azure.core.http.rest.Page<AutocompleteItem>,com.azure.core.http.rest.PagedResponse<AutocompleteItem>,com.azure.core.http.rest.Response<List<AutocompleteItem>>,com.azure.core.util.paging.ContinuablePage<String,,AutocompleteItem> Closeable,AutoCloseable
public final class AutocompletePagedResponse
extends com.azure.core.http.rest.PagedResponseBase<Void,AutocompleteItem>
This class represents a response from the autocomplete API. It contains the
AutocompleteItems returned from the service.-
Constructor Summary
ConstructorsConstructorDescriptionAutocompletePagedResponse(com.azure.core.http.rest.SimpleResponse<AutocompleteResult> autocompleteResponse) Creates anAutocompletePagedResponsefrom the returnedResponse. -
Method Summary
Modifier and TypeMethodDescriptionThe percentage of the index covered in the autocomplete request.Methods inherited from class com.azure.core.http.rest.PagedResponseBase
close, getContinuationToken, getDeserializedHeaders, getElements, getHeaders, getRequest, getStatusCodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.core.http.rest.Page
getItemsMethods inherited from interface com.azure.core.http.rest.PagedResponse
getValue
-
Constructor Details
-
AutocompletePagedResponse
public AutocompletePagedResponse(com.azure.core.http.rest.SimpleResponse<AutocompleteResult> autocompleteResponse) Creates anAutocompletePagedResponsefrom the returnedResponse.- Parameters:
autocompleteResponse- Autocomplete response returned from the service.
-
-
Method Details
-
getCoverage
The percentage of the index covered in the autocomplete request.If
minimumCoveragewasn't supplied in the request this will benull.- Returns:
- The percentage of the index covered in the suggest request if
minimumCoveragewas set in the request, otherwisenull.
-