Annotation Interface Region


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Region
Pins the annotated method's execution to a CockroachDB region. The value is placed in CrdbContext for the duration of the call (useful for REGIONAL BY ROW access patterns).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The region name (e.g.
  • Element Details

    • value

      String value
      The region name (e.g. us-east1).