diff --git a/docs/manage-metalake-using-gravitino.md b/docs/manage-metalake-using-gravitino.md index ff4e76a029a..b4510cfc2c8 100644 --- a/docs/manage-metalake-using-gravitino.md +++ b/docs/manage-metalake-using-gravitino.md @@ -42,7 +42,7 @@ GravitinoAdminClient gravitinoAdminClient = GravitinoAdminClient .builder("http://localhost:8090") .build(); -GravitinoMetaLake newMetalake = gravitinoAdminClient.createMetalake( +GravitinoMetalake newMetalake = gravitinoAdminClient.createMetalake( NameIdentifier.of("metalake"), "This is a new metalake", new HashMap<>()); @@ -79,7 +79,7 @@ curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \ ```java // ... -GravitinoMetaLake loaded = gravitinoAdminClient.loadMetalake( +GravitinoMetalake loaded = gravitinoAdminClient.loadMetalake( NameIdentifier.of("metalake")); // ... ``` @@ -123,7 +123,7 @@ curl -X PUT -H "Accept: application/vnd.gravitino.v1+json" \ ```java // ... -GravitinoMetaLake renamed = gravitinoAdminClient.alterMetalake( +GravitinoMetalake renamed = gravitinoAdminClient.alterMetalake( NameIdentifier.of("new_metalake"), MetalakeChange.rename("new_metalake_renamed") ); @@ -213,7 +213,7 @@ curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \ ```java // ... -GravitinoMetaLake[] allMetalakes = gravitinoAdminClient.listMetalakes(); +GravitinoMetalake[] allMetalakes = gravitinoAdminClient.listMetalakes(); // ... ``` diff --git a/docs/manage-relational-metadata-using-gravitino.md b/docs/manage-relational-metadata-using-gravitino.md index 47003de481e..372d2e40ca8 100644 --- a/docs/manage-relational-metadata-using-gravitino.md +++ b/docs/manage-relational-metadata-using-gravitino.md @@ -245,7 +245,7 @@ http://localhost:8090/api/metalakes/metalake/catalogs?details=true ```java // ... // Assuming you have just created a metalake named `metalake` -Catalog[] catalogsInfos = gravitinoMetaLake.listCatalogsInfo(Namespace.ofCatalog("metalake")); +Catalog[] catalogsInfos = gravitinoMetalake.listCatalogsInfo(Namespace.ofCatalog("metalake")); // ... ```