Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial read refactor #2374

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Jun 21, 2021

This initial refactor for the readers prepares for the creation of all
new reader classes. To minimize duplicate code, the code for settings
and getting buffers, layout, subarray, config and query condition is
moved to the query. It also creates a new interface, IQueryStrategy,
which all readers and writers will implement and creates a basic class
hierarchy for the strategies. Finally, it creates the reader or writer
dynamically when the query is submitted as a IQueryStrategy.


TYPE: IMPROVEMENT
DESC: Initial read refactor

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #8173: Initial read refactor.

@KiterLuc KiterLuc force-pushed the lr/initial-read-refactor/ch8173 branch 8 times, most recently from e1b5a58 to aae0590 Compare June 22, 2021 13:02
Copy link
Member

@stavrospapadopoulos stavrospapadopoulos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments.

tiledb/sm/query/query.h Outdated Show resolved Hide resolved
tiledb/sm/query/query.h Outdated Show resolved Hide resolved
tiledb/sm/query/query.h Outdated Show resolved Hide resolved
tiledb/sm/query/query.h Outdated Show resolved Hide resolved
tiledb/sm/query/reader_base.cc Outdated Show resolved Hide resolved
tiledb/sm/query/reader.h Show resolved Hide resolved
tiledb/sm/query/reader.h Outdated Show resolved Hide resolved
tiledb/sm/query/iquery_strategy.h Outdated Show resolved Hide resolved
tiledb/sm/query/iquery_strategy.h Outdated Show resolved Hide resolved
tiledb/sm/query/strategy_base.h Outdated Show resolved Hide resolved
@KiterLuc KiterLuc force-pushed the lr/initial-read-refactor/ch8173 branch from aae0590 to da34b43 Compare June 23, 2021 20:31
@KiterLuc KiterLuc force-pushed the lr/initial-read-refactor/ch8173 branch from da34b43 to 196abb6 Compare June 23, 2021 20:43
tiledb/sm/query/query.cc Outdated Show resolved Hide resolved
@KiterLuc KiterLuc force-pushed the lr/initial-read-refactor/ch8173 branch from 196abb6 to c690518 Compare June 24, 2021 12:53
This initial refactor for the readers prepares for the creation of all
new reader classes. To minimize duplicate code, the code for settings
and getting buffers, layout, subarray, config and query condition is
moved to the query. It also creates a new interface, IQueryStrategy,
which all readers and writers will implement and creates a basic class
hierarchy for the strategies. Finally, it creates the reader or writer
dynamically when the query is submitted as a IQueryStrategy.

---
TYPE: IMPROVEMENT
DESC: Initial read refactor
@KiterLuc KiterLuc force-pushed the lr/initial-read-refactor/ch8173 branch from c690518 to a929a9d Compare June 24, 2021 14:06
@stavrospapadopoulos stavrospapadopoulos merged commit 208ba85 into dev Jun 24, 2021
@stavrospapadopoulos stavrospapadopoulos deleted the lr/initial-read-refactor/ch8173 branch June 24, 2021 15:48
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.

None yet

3 participants