danny0405 commented on PR #11923:
URL: https://github.com/apache/hudi/pull/11923#issuecomment-2461114162

   I kind of feel we need to think through the top-level APIs around 
HoodieInstant and HoodieTimeline here. Because this is very related to the 
experience of Hudi developers.
   
   It looks like we use the meta client as the entrance to fetch a timeline, 
and the timeline is in duty for instant creation and SE/DE. I’m okay with this 
if we want to keep this convention.
   
   Another choice is we use specific class/interface as the top-level entrance, 
for example, we can have HoodieInstants as the unified entrance for instant 
related functionalities:
   ```java
   ```
   And for timeline, we can also have it’s own builder, just use HoodieTimeline
   as the entrance:
   HoodieTimeline.builder(metaClient).active().build()
   HoodieTimeline.builder(metaClient).archived().build()
   (已编辑)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to