-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yingjian Wu
committed
Jun 5, 2024
1 parent
4509fd8
commit e2ef102
Showing
8 changed files
with
160 additions
and
177 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...rc/main/java/com/netflix/metacat/common/server/usermetadata/DefaultTableUUIDProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.netflix.metacat.common.server.usermetadata; | ||
|
||
import com.netflix.metacat.common.dto.TableDto; | ||
|
||
import java.util.Optional; | ||
|
||
/** | ||
* Default Table UUID Provider. | ||
* | ||
* @author yingjianw | ||
*/ | ||
public class DefaultTableUUIDProvider implements TableUUIDProvider { | ||
@Override | ||
public Optional<String> getUUID(final TableDto tableDto) { | ||
return Optional.empty(); | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...erver/src/main/java/com/netflix/metacat/common/server/usermetadata/TableUUIDProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.netflix.metacat.common.server.usermetadata; | ||
|
||
import com.netflix.metacat.common.dto.TableDto; | ||
|
||
import java.util.Optional; | ||
|
||
/** | ||
* Interface for TableUUIDPorvider. | ||
* @author yingjianw | ||
*/ | ||
public interface TableUUIDProvider { | ||
/** | ||
* Given a tableDto, get the corresponding table uuid if applicable. | ||
* @param tableDto dto for table | ||
* @return the uuid of the table | ||
**/ | ||
Optional<String> getUUID(TableDto tableDto); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.