package de.zalando.sprocwrapper.sharding; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @author jmussler */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) @Inherited public @interface ShardKey { int pos() default -1; }