struct Movie::Cluster::ShardKey

Defined in:

movie/cluster/sharding/extension.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entity_type : String, shard_id : Int32) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(entity_type _entity_type = @entity_type, shard_id _shard_id = @shard_id) #

[View source]
def entity_type : String #

def shard_id : Int32 #