Sha256: 074bd1634486154e1fae56d1144d50cfcf7f0ffbe42b5add7d1dd7cdd758dfb5
Contents?: true
Size: 912 Bytes
Versions: 29
Compression:
Stored size: 912 Bytes
Contents
# -*- coding: utf-8 -*- module ActiveRecord::Turntable class Mixer class Fader extend ActiveSupport::Autoload eager_autoload do # single shard autoload :SpecifiedShard # multiple shard merging autoload :SelectShardsMergeResult autoload :InsertShardsMergeResult autoload :UpdateShardsMergeResult # calcurations autoload :CalculateShardsSumResult end attr_reader :shards_query_hash attr_reader :called_method attr_reader :query def initialize(proxy, shards_query_hash, called_method, query, *args, &block) @proxy = proxy @shards_query_hash = shards_query_hash @called_method = called_method @query = query @args = args @block = block end def execute raise NotImplementedError, "Called abstract method" end end end end
Version data entries
29 entries across 29 versions & 1 rubygems