Interface Table

All Superinterfaces:
Segment, Serializable, TableRef
All Known Implementing Classes:
Table.Default

public interface Table extends TableRef
Author:
Maning
  • Method Details

    • of

      static Table of(String name)
      创建Table对象
      Parameters:
      name - 表名, 会经过命名转换
      Returns:
      table
    • of

      static Table of(Class<?> clazz)
      创建Table对象
      Parameters:
      clazz - 实体类
      Returns:
      table
    • as

      AliasTableRef as(String alias)
      设置别名
      Parameters:
      alias - 别名
      Returns:
      表引用
    • col

      default Column col(String column)
      从table创建列
      Parameters:
      column - 列名
      Returns:
      列名
    • name

      String name()
      表名
      Returns:
      表名