Annotated Example Implementation of Customized Sharding Logic