Skip to content

Commit d244904

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit f1b1866. [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent f1b1866 commit d244904

File tree

1 file changed

+10
-0
lines changed
  • clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api

1 file changed

+10
-0
lines changed

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6037,6 +6037,16 @@ public <T> Iterable<T> browseObjects(String indexName, BrowseParamsObject params
60376037
return browseObjects(indexName, params, innerType, null);
60386038
}
60396039

6040+
/**
6041+
* Helper: Returns an iterator on top of the `browse` method.
6042+
*
6043+
* @param indexName The index in which to perform the request.
6044+
* @param innerType The class held by the index, could be your custom class or {@link Object}.
6045+
*/
6046+
public <T> Iterable<T> browseObjects(String indexName, Class<T> innerType) {
6047+
return browseObjects(indexName, new BrowseParamsObject(), innerType, null);
6048+
}
6049+
60406050
/**
60416051
* Helper: Returns an iterator on top of the `searchSynonyms` method.
60426052
*

0 commit comments

Comments
 (0)