Package com.azure.maps.search.models
Class BatchSearchResult
java.lang.Object
com.azure.maps.search.models.BatchSearchResult
This object is returned from a successful Search Address Batch service call.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newBatchSearchResult
with default properties.BatchSearchResult
(BatchResultSummary batchSummary, List<SearchAddressBatchItem> batchItems) Creates a newBatchSearchResult
with a summary and batch items. -
Method Summary
Modifier and TypeMethodDescriptionReturn this id for this batch.Get the batchItems property: Array containing the batch results.Get the batchSummary property: Summary of the results for the batch request.void
setBatchId
(String batchId) Sets the if of this batch.
-
Constructor Details
-
BatchSearchResult
public BatchSearchResult()Creates a newBatchSearchResult
with default properties. -
BatchSearchResult
Creates a newBatchSearchResult
with a summary and batch items.- Parameters:
batchSummary
- the summary of this batch's search results.batchItems
- the items returned in this search.
-
-
Method Details
-
getBatchSummary
Get the batchSummary property: Summary of the results for the batch request.- Returns:
- the batchSummary value.
-
getBatchItems
Get the batchItems property: Array containing the batch results.- Returns:
- the batchItems value.
-
getBatchId
Return this id for this batch. Only available when the batch is cached.- Returns:
- the batch id
-
setBatchId
Sets the if of this batch.- Parameters:
batchId
- the id of this batch, returned from the asynchronous API.
-