Annotation Interface ShardingTable


@Target(TYPE) @Retention(RUNTIME) public @interface ShardingTable
Since:
1.0.0
Version:
1.0.0
Author:
ilikly
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    return table actual data nodes
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    return the logic table name
  • Element Details

    • actualDataNodes

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

      String[] logicTables
      return the logic table name
      Returns:
      the logic table name
      Default:
      {""}
    • broadcast

      boolean broadcast
      Default:
      false