mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 20:19:31 +00:00
Minor: Return pagination of for listHierarchy (#18567)
This commit is contained in:
parent
a03d915909
commit
e7632428f4
@ -28,6 +28,7 @@ import org.openmetadata.service.resources.settings.SettingsCache;
|
||||
import org.openmetadata.service.search.models.IndexMapping;
|
||||
import org.openmetadata.service.search.security.RBACConditionEvaluator;
|
||||
import org.openmetadata.service.security.policyevaluator.SubjectContext;
|
||||
import org.openmetadata.service.util.ResultList;
|
||||
import org.openmetadata.service.util.SSLUtil;
|
||||
import os.org.opensearch.action.bulk.BulkRequest;
|
||||
import os.org.opensearch.action.bulk.BulkResponse;
|
||||
@ -195,7 +196,7 @@ public interface SearchClient {
|
||||
Used for listing knowledge page hierarchy for a given parent and page type, used in Elastic/Open SearchClientExtension
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
default Response listPageHierarchy(String parent, String pageType, int offset, int limit) {
|
||||
default ResultList listPageHierarchy(String parent, String pageType, int offset, int limit) {
|
||||
throw new CustomExceptionMessage(
|
||||
Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user