| Modifier and Type | Field and Description |
|---|---|
| private Column[] | |
| private DbException | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | |
| public static void | |
| private static Query | |
| protected QueryExpressionIndex | createIndex(SessionLocal session, int[] masks)
Implements abstract org.
|
| public String | |
| public String | Returns: the SQL statementif true, then include the OR REPLACE clause orReplace, boolean if true, then include the FORCE clause force)Generate "CREATE" SQL statement for the view. |
| private String | |
| public String | getCreateSQLForCopy(Table
the new table table, String the quoted name quotedName)Overrides org. Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different table |
| public String | |
| public long | getMaxDataModificationId()
Overrides org. Get the last data modification id. |
| public QueryScope | getQueryScope()
Implements abstract org. Returns the scope of this table |
| public String | |
| public Index | getScanIndex(SessionLocal
the session session, int[] the search mask masks, TableFilter[] the table filters filters, int the filter index filter, SortOrder the sort order sortOrder, AllColumnsForPlan all columns allColumnsSet)Overrides org. Get the scan index for this table. |
| public List | |
| public TableType | |
| public Query | |
| private synchronized void | |
| private void | |
| public boolean | isDeterministic()
Overrides org. Check if the table is deterministic. |
| public boolean | |
| public synchronized DbException | Returns: the exception if re-compiling this or any dependent view failed (only when force is disabled)the session session, boolean if exceptions should be ignored force, boolean if we need to clear view index cache clearIndexCache)Re-compile the view query and all views that depend on this object. |
| public void | removeChildrenAndResources(SessionLocal
the session session)Overrides org. Delete all dependent children objects and resources of this object. |
| private void | |
| public void | replace(String
the SQL statement querySQL, Column[] the columns newColumnTemplates, SessionLocal the session session, boolean if errors should be ignored force)Try to replace the SQL statement of the view and re-compile this and all dependent views. |
| columnTemplates | back to summary |
|---|---|
| private Column[] columnTemplates | |
| createException | back to summary |
|---|---|
| private DbException createException | |
| querySQL | back to summary |
|---|---|
| private String querySQL | |
| TableView | back to summary |
|---|---|
| public TableView(Schema schema, int id, String name, String querySQL, Column[] columnTemplates, SessionLocal session) | |
| addDependentViewToTables | back to summary |
|---|---|
| private void addDependentViewToTables() | |
| canDrop | back to summary |
|---|---|
| public boolean canDrop() Implements abstract org. Doc from org. Check if this table can be dropped.
| |
| clearIndexCaches | back to summary |
|---|---|
| public static void clearIndexCaches(Database database) Clear the cached indexes for all sessions.
| |
| compileViewQuery | back to summary |
|---|---|
| private static Query compileViewQuery(SessionLocal session, String sql) | |
| createIndex | back to summary |
|---|---|
| protected QueryExpressionIndex createIndex(SessionLocal session, int[] masks) Implements abstract org.
| |
| getCreateSQL | back to summary |
|---|---|
| public String getCreateSQL() Implements abstract org. Doc from org. Construct the CREATE ... SQL statement for this object. | |
| getCreateSQL | back to summary |
|---|---|
| public String getCreateSQL(boolean orReplace, boolean force) Generate "CREATE" SQL statement for the view.
| |
| getCreateSQL | back to summary |
|---|---|
| private String getCreateSQL(boolean orReplace, boolean force, String quotedName) | |
| getCreateSQLForCopy | back to summary |
|---|---|
| public String getCreateSQLForCopy(Table table, String quotedName) Overrides org. Doc from org. Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different table | |
| getDropSQL | back to summary |
|---|---|
| public String getDropSQL() Overrides org. Doc from org. Construct a DROP ... SQL statement for this object. | |
| getMaxDataModificationId | back to summary |
|---|---|
| public long getMaxDataModificationId() Overrides org. Doc from org. Get the last data modification id.
| |
| getQueryScope | back to summary |
|---|---|
| public QueryScope getQueryScope() Implements abstract org. Doc from org. Returns the scope of this table
| |
| getQuerySQL | back to summary |
|---|---|
| public String getQuerySQL() | |
| getScanIndex | back to summary |
|---|---|
| public Index getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Overrides org. Doc from org. Get the scan index for this table.
| |
| getTables | back to summary |
|---|---|
| public List | |
| getTableType | back to summary |
|---|---|
| public TableType getTableType() Implements abstract org. Doc from org. Get the table type name | |
| getTopQuery | back to summary |
|---|---|
| public Query getTopQuery() Implements abstract org.
| |
| init | back to summary |
|---|---|
| private synchronized void init(String querySQL, Column[] columnTemplates, SessionLocal session) | |
| initColumnsAndTables | back to summary |
|---|---|
| private void initColumnsAndTables(SessionLocal session) | |
| isDeterministic | back to summary |
|---|---|
| public boolean isDeterministic() Overrides org. Doc from org. Check if the table is deterministic.
| |
| isInvalid | back to summary |
|---|---|
| public boolean isInvalid() Check if this view is currently invalid.
| |
| recompile | back to summary |
|---|---|
| public synchronized DbException recompile(SessionLocal session, boolean force, boolean clearIndexCache) Re-compile the view query and all views that depend on this object.
| |
| removeChildrenAndResources | back to summary |
|---|---|
| public void removeChildrenAndResources(SessionLocal session) Overrides org. Doc from org. Delete all dependent children objects and resources of this object.
| |
| removeCurrentViewFromOtherTables | back to summary |
|---|---|
| private void removeCurrentViewFromOtherTables() | |
| replace | back to summary |
|---|---|
| public void replace(String querySQL, Column[] newColumnTemplates, SessionLocal session, boolean force) Try to replace the SQL statement of the view and re-compile this and all dependent views.
| |