module Cassie::Statements::Execution::PartitionLinking
Note: currently supports only natural linking that is in the same direction as the clustering order
Public Instance Methods
build_partition_linker()
click to toggle source
# File lib/cassie/statements/execution/partition_linking.rb, line 42 def build_partition_linker self.class.partition_linker.new(self, *self.class.partition_linker_args) end
execute(*args)
click to toggle source
Calls superclass method
# File lib/cassie/statements/execution/partition_linking.rb, line 32 def execute(*args) success = super if success && partition_linker? @result = build_partition_linker.link result.success? else success end end
partition_linker?()
click to toggle source
# File lib/cassie/statements/execution/partition_linking.rb, line 46 def partition_linker? !!self.class.partition_linker_args end