Skip to content

Subscription: refact client interface#17225

Draft
VGalaxies wants to merge 2 commits intoapache:masterfrom
VGalaxies:sub-client
Draft

Subscription: refact client interface#17225
VGalaxies wants to merge 2 commits intoapache:masterfrom
VGalaxies:sub-client

Conversation

@VGalaxies
Copy link
Contributor

wip...

…ile APIs

Reuse tsfile ResultSet in subscription payloads, rename message accessors to getRecords()/getTsFile(), and return ITsFileReader from tsfile handler. Also rename format constants to SubscriptionRecordHandler/SubscriptionTsFileHandler with legacy TsFileHandler compatibility.

BREAKING CHANGE: SubscriptionMessage.getSessionDataSetsHandler() and getTsFileHandler() are removed in favor of getRecords() and getTsFile(). SubscriptionSessionDataSet/SubscriptionSessionDataSetsHandler are removed and format default/value names are updated.
…aders

- migrate subscription message usage to getRecords/getTsFile across tests and examples

- add record helpers (tablet iterator, row iteration) for ResultSet-based payloads

- unify tsfile access through openReader() with tree/table model-specific implementations

BREAKING CHANGE: subscription payload consumers should use getRecords()/getTsFile() and the new message type names (RECORD_HANDLER/TS_FILE); legacy handler-style payload APIs are no longer used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant