Annotation Type RangePartition


@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface RangePartition
Represent a specific range partition. Values >= startValue and <= endValue will be routed to the connection pool.
See Also:
Author:
James Sutherland
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The connection pool to route queries to for this range.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The String representation of the range start value.
    The String representation of the range start value.
  • Element Details

    • connectionPool

      String connectionPool
      The connection pool to route queries to for this range.
    • startValue

      String startValue
      The String representation of the range start value.
      Default:
      ""
    • endValue

      String endValue
      The String representation of the range start value.
      Default:
      ""