| org.h2.table.Table org.h2.table.TableView
TableView | public class TableView extends Table (Code) | | A view is a virtual table that is defined by a query.
|
Method Summary | |
public Index | addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, int headPos, String comment) | public void | addRow(Session session, Row row) | public boolean | canDrop() | public boolean | canGetRowCount() | public void | checkRename() | public void | checkSupportAlter() | public void | close(Session session) | public static TableView | createTempView(Session s, User owner, Query query) | public PlanItem | getBestPlanItem(Session session, int[] masks) | public String | getCreateSQL() | public String | getDropSQL() | public ObjectArray | getIndexes() | public boolean | getInvalid() | public long | getMaxDataModificationId() | public User | getOwner() | public long | getRowCount(Session session) | public String | getSQL() | public Index | getScanIndex(Session session) | public String | getTableType() | public ObjectArray | getTables() | public Index | getUniqueIndex() | public boolean | isLockedExclusively() | public void | lock(Session session, boolean exclusive, boolean force) | public void | recompile(Session session) | public Query | recompileQuery(Session session) | public void | removeChildrenAndResources(Session session) | public void | removeIndex(String indexName) | public void | removeRow(Session session, Row row) | public void | setOwner(User owner) | public void | truncate(Session session) | public void | unlock(Session s) |
canDrop | public boolean canDrop()(Code) | | |
canGetRowCount | public boolean canGetRowCount()(Code) | | |
getInvalid | public boolean getInvalid()(Code) | | |
getMaxDataModificationId | public long getMaxDataModificationId()(Code) | | |
isLockedExclusively | public boolean isLockedExclusively()(Code) | | |
Methods inherited from org.h2.table.Table | public void addConstraint(Constraint constraint)(Code)(Java Doc) public void addDependencies(HashSet dependencies)(Code)(Java Doc) abstract public Index addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, int headPos, String comment) throws SQLException(Code)(Java Doc) abstract public void addRow(Session session, Row row) throws SQLException(Code)(Java Doc) public void addSequence(Sequence sequence)(Code)(Java Doc) public void addTrigger(TriggerObject trigger)(Code)(Java Doc) public void addView(TableView view)(Code)(Java Doc) abstract public boolean canDrop()(Code)(Java Doc) abstract public boolean canGetRowCount()(Code)(Java Doc) public boolean canTruncate()(Code)(Java Doc) public void checkColumnIsNotReferenced(Column col) throws SQLException(Code)(Java Doc) abstract public void checkSupportAlter() throws SQLException(Code)(Java Doc) abstract public void close(Session session) throws SQLException(Code)(Java Doc) public Index findPrimaryKey() throws SQLException(Code)(Java Doc) public void fireAfter(Session session) throws SQLException(Code)(Java Doc) public void fireAfterRow(Session session, Row oldRow, Row newRow) throws SQLException(Code)(Java Doc) public void fireBefore(Session session) throws SQLException(Code)(Java Doc) public void fireBeforeRow(Session session, Row oldRow, Row newRow) throws SQLException(Code)(Java Doc) public boolean fireRow()(Code)(Java Doc) public PlanItem getBestPlanItem(Session session, int[] masks) throws SQLException(Code)(Java Doc) public boolean getCheckForeignKeyConstraints()(Code)(Java Doc) public ObjectArray getChildren()(Code)(Java Doc) public Column getColumn(int index)(Code)(Java Doc) public Column getColumn(String columnName) throws SQLException(Code)(Java Doc) public Column[] getColumns()(Code)(Java Doc) public Column[] getColumns(String[] columnNames) throws SQLException(Code)(Java Doc) public ObjectArray getConstraints()(Code)(Java Doc) public String getCreateSQLForCopy(Table table, String quotedName)(Code)(Java Doc) public boolean getGlobalTemporary()(Code)(Java Doc) public Index getIndexForColumn(Column column, boolean first)(Code)(Java Doc) abstract public ObjectArray getIndexes()(Code)(Java Doc) abstract public long getMaxDataModificationId()(Code)(Java Doc) public Row getNullRow()(Code)(Java Doc) public Index getPrimaryKey() throws SQLException(Code)(Java Doc) abstract public long getRowCount(Session session) throws SQLException(Code)(Java Doc) abstract public Index getScanIndex(Session session) throws SQLException(Code)(Java Doc) abstract public String getTableType()(Code)(Java Doc) public Row getTemplateRow()(Code)(Java Doc) public SearchRow getTemplateSimpleRow(boolean singleColumn)(Code)(Java Doc) public int getType()(Code)(Java Doc) abstract public Index getUniqueIndex()(Code)(Java Doc) public boolean isClustered()(Code)(Java Doc) public boolean isLockExclusive(Session s)(Code)(Java Doc) abstract public boolean isLockedExclusively()(Code)(Java Doc) public boolean isOnCommitDrop()(Code)(Java Doc) public boolean isOnCommitTruncate()(Code)(Java Doc) public boolean isPersistent()(Code)(Java Doc) abstract public void lock(Session session, boolean exclusive, boolean force) throws SQLException(Code)(Java Doc) public void removeChildrenAndResources(Session session) throws SQLException(Code)(Java Doc) public void removeConstraint(Constraint constraint)(Code)(Java Doc) public void removeIndex(Index index)(Code)(Java Doc) public void removeIndexOrTransferOwnership(Session session, Index index) throws SQLException(Code)(Java Doc) abstract public void removeRow(Session session, Row row) throws SQLException(Code)(Java Doc) public void removeSequence(Session session, Sequence sequence)(Code)(Java Doc) public void removeTrigger(Session session, TriggerObject trigger)(Code)(Java Doc) public void removeView(TableView view)(Code)(Java Doc) public void renameColumn(Column column, String newName) throws SQLException(Code)(Java Doc) public void setCheckForeignKeyConstraints(Session session, boolean enabled, boolean checkExisting) throws SQLException(Code)(Java Doc) protected void setColumns(Column[] columns) throws SQLException(Code)(Java Doc) public void setOnCommitDrop(boolean onCommitDrop)(Code)(Java Doc) public void setOnCommitTruncate(boolean onCommitTruncate)(Code)(Java Doc) abstract public void truncate(Session session) throws SQLException(Code)(Java Doc) abstract public void unlock(Session s)(Code)(Java Doc) public void updateRows(Prepared prepared, Session session, RowList rows) throws SQLException(Code)(Java Doc) public void validateConvertUpdateSequence(Session session, Row row) throws SQLException(Code)(Java Doc)
|
|
|