Class: Cassie::Statements::Execution::PartitionLinking::SimplePolicy
- Inherits:
-
Object
- Object
- Cassie::Statements::Execution::PartitionLinking::SimplePolicy
show all
- Includes:
- PolicyMethods
- Defined in:
- lib/cassie/statements/execution/partition_linking/simple_policy.rb
Instance Method Summary
collapse
#end_of_partition?, #initialize, #link, #partition_available?, #prepare_execution, #seek_partition?
Instance Method Details
#combine_rows(rows_a, rows_b) ⇒ Object
7
8
9
|
# File 'lib/cassie/statements/execution/partition_linking/simple_policy.rb', line 7
def combine_rows(rows_a, rows_b)
rows_a + rows_b
end
|
#next_key(current_key) ⇒ Object
11
12
13
|
# File 'lib/cassie/statements/execution/partition_linking/simple_policy.rb', line 11
def next_key(current_key)
current_key + 1
end
|
#previous_key(current_key) ⇒ Object
15
16
17
|
# File 'lib/cassie/statements/execution/partition_linking/simple_policy.rb', line 15
def previous_key(current_key)
current_key - 1
end
|