-
Notifications
You must be signed in to change notification settings - Fork 116
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
logical_range_filter: Separate a base of ShardExecutor into another class #1343
Conversation
@@ -0,0 +1,211 @@ | |||
module Groonga | |||
module Sharding | |||
class ShardExecutorBase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about StreamShardExecutor
or something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
I have renamed it.
e02e083
to
f376b31
Compare
I have rebased this branch onto the latest |
We can merge this once CI isn't failed. |
Would you mind if I merge this? |
Merged. |
ShardExecutor
into another classShardExecutorBase
.ShardExecutor
to inheriteShardExecutorBase
.This is a preparation for #1341.
ShardExecutorBase
requires children to implementexecute_filter
anduse_range_index?
.Next step, implementing
execute_filter
anduse_range_index?
into a class that inheritsShardExecutorBase
inlogical_count
.Concern:
Unless already knowing it, a reader of
ShardExecutorBase
has to read the code deeply or actually execute the code to know it.Is there any good way to resolve it in Ruby?
(I also feel that the structure of
ShardExecutorBase
is not so good...)