Add Listpage Method (#17761)

This commit is contained in:
Mohit Yadav 2024-09-09 16:21:20 +05:30 committed by GitHub
parent 2b24c91e2a
commit 0c510e443a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -134,6 +134,15 @@ public interface SearchClient {
String entityType)
throws IOException;
/*
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) {
throw new CustomExceptionMessage(
Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD);
}
Map<String, Object> searchLineageInternal(
String fqn,
int upstreamDepth,