public interface Table extends DatabaseObject
DatabaseObject.DbObjectStatus, DatabaseObject.DbObjectType| Modifier and Type | Method | Description |
|---|---|---|
long |
count() |
Query the number of rows in this table.
|
DeleteStatement |
delete() |
Create a new delete statement.
|
InsertStatement |
insert() |
Create an insert statement using the list of all columns in the table.
|
InsertStatement |
insert(Map<String,Object> fieldsAndValues) |
Create an insert statement using the given key/value pairs.
|
InsertStatement |
insert(String... projection) |
Create an insert statement using the given list columns.
|
boolean |
isView() |
Check if the underlying object is a view or not.
|
SelectStatement |
select(String... projections) |
Create a new select statement using the given projections.
|
UpdateStatement |
update() |
Create a new update statement.
|
existsInDatabase, getName, getSchema, getSessionInsertStatement insert()
InsertStatementInsertStatement insert(String... projection)
projection - one or more projection expressionsInsertStatementInsertStatement insert(Map<String,Object> fieldsAndValues)
fieldsAndValues - table name-value pairsInsertStatementSelectStatement select(String... projections)
projections - one or more projection expressionsSelectStatementUpdateStatement update()
UpdateStatementDeleteStatement delete()
DeleteStatementlong count()
boolean isView()