接口 Table

  • 所有超级接口:
    DatabaseObject
    所有已知实现类:
    TableImpl

    public interface Table
    extends DatabaseObject
    A client-side representation of a database table. Provides access to the table through standard INSERT/SELECT/UPDATE/DELETE statements.
    • 方法详细资料

      • insert

        InsertStatement insert​(String... projection)
        Create an insert statement using the given list columns.
        参数:
        projection - one or more projection expressions
        返回:
        InsertStatement
      • select

        SelectStatement select​(String... projections)
        Create a new select statement using the given projections.
        参数:
        projections - one or more projection expressions
        返回:
        SelectStatement
      • count

        long count()
        Query the number of rows in this table.
        返回:
        Number of rows in this table
      • isView

        boolean isView()
        Check if the underlying object is a view or not.
        返回:
        true if this Table is a View