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:
    RangePartitioning, RangePartitioningPolicy, RangePartition
    Author:
    James Sutherland
    Since:
    EclipseLink 2.2
    • Required Element Summary

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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String endValue
      The String representation of the range start value.
      java.lang.String startValue
      The String representation of the range start value.
    • Element Detail

      • connectionPool

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

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

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