matrixone icon indicating copy to clipboard operation
matrixone copied to clipboard

[Tech Request]: semantic interfaces for fileservice

Open reusee opened this issue 1 year ago • 0 comments

Is there an existing issue for the same tech request?

  • [X] I have checked the existing issues.

Does this tech request not affect user experience?

  • [X] This tech request doesn't affect user experience.

What would you like to be added ?

refactor IOVector and IOEntry to semantic interfaces to allow further optimization.

examples:

fs.Read(ctx, "foo", ReadRange(1, 10), ReadCache(toCacheDataFunc))
fs.Read(ctx, "foo", PrefetchRange(1, 10))
fs.Read(ctx, "foo", PrefetchFile())

Why is this needed ?

No response

Additional information

No response

reusee avatar May 17 '24 06:05 reusee