Annotation Interface ShardingTable


@Target(TYPE) @Retention(RUNTIME) public @interface ShardingTable
从以下版本开始:
1.0.0
版本:
1.0.0
作者:
ilikly
  • 必需元素概要

    所需元素
    修饰符和类型
    必需的元素
    说明
    return table actual data nodes
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    boolean
     
    return the logic table name
  • 元素详细资料

    • actualDataNodes

      String[] actualDataNodes
      return table actual data nodes
      返回:
      table actual data nodes
    • logicTables

      String[] logicTables
      return the logic table name
      返回:
      the logic table name
      默认值:
      {""}
    • broadcast

      boolean broadcast
      默认值:
      false