| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | QueryExpressionTable.
The key of the index cache for views. |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long | |
| private static final long | |
| pack-priv ArrayList | |
| pack-priv Query |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | addDependencies(HashSet<DbObject>
the current set of dependencies dependencies)Overrides org. Add all objects that this table depends on to the hash set. |
| public final Index | addIndex(SessionLocal
the session session, String the name of the index indexName, int the id indexId, IndexColumn[] the index columns cols, int the count of unique columns uniqueColumnCount, IndexType the index type indexType, boolean whether this is a new index create, String the comment indexComment)Implements abstract org. Create an index for this table |
| public final void | addRow(SessionLocal
the session session, Row the row row)Implements abstract org. Add a row to the table and all indexes. |
| public final boolean | canGetRowCount(SessionLocal
the session session)Implements abstract org. Check if the row count can be retrieved quickly. |
| public final boolean | |
| public final void | checkSupportAlter()
Implements abstract org. Check if this table supports ALTER TABLE. |
| public final void | close(SessionLocal
the session session)Implements abstract org. Close the table object and flush changes. |
| pack-priv abstract QueryExpressionIndex | |
| public static List | Returns: a list of column object returned by withQuery- an optional list of column names (can be specified by WITH
clause overriding usual select names) cols, Query - the query object we want the column list for theQuery)Creates a list of column templates from a query (usually from WITH query, but could be any query) |
| public final PlanItem | getBestPlanItem(SessionLocal
the session session, int[] per-column comparison bit masks, null means 'always false',
see constants in IndexCondition masks, TableFilter[] all joined table filters filters, int the current table filter index filter, SortOrder the sort order sortOrder, AllColumnsForPlan the set of all columns allColumnsSet)Overrides org. Get the best plan for the given search mask. |
| public final ArrayList | |
| public long | getMaxDataModificationId()
Implements abstract org. Get the last data modification id. |
| public final int | Returns: the index of the first parameteradditional parameters additionalParameters)Get the index of the first parameter. |
| public final Query | |
| public abstract QueryScope | |
| public final long | getRowCount(SessionLocal
the session session)Implements abstract org. Get the row count for this table. |
| public final long | getRowCountApproximation(SessionLocal
the session session)Implements abstract org. Get the approximated row count for this table. |
| public final Index | getScanIndex(SessionLocal
the session session)Implements abstract org. Get the scan index to iterate through all rows. |
| 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 abstract Query | |
| pack-priv Column[] | |
| public boolean | isDeterministic()
Implements abstract org. Check if the table is deterministic. |
| public final boolean | |
| public boolean | isQueryComparable()
Overrides org. Check whether the table (or view) contains no columns that prevent index conditions to be used. |
| public final boolean | |
| public final void | removeRow(SessionLocal
the session session, Row the row row)Implements abstract org. Remove a row from the table and all indexes. |
| public final long | truncate(SessionLocal
the session session)Implements abstract org. Remove all rows from the table and indexes. |
| lastModificationCheck | back to summary |
|---|---|
| private long lastModificationCheck | |
| maxDataModificationId | back to summary |
|---|---|
| private long maxDataModificationId | |
| ROW_COUNT_APPROXIMATION | back to summary |
|---|---|
| private static final long ROW_COUNT_APPROXIMATION | |
| tables | back to summary |
|---|---|
| pack-priv ArrayList<Table> tables | |
| viewQuery | back to summary |
|---|---|
| pack-priv Query viewQuery | |
| QueryExpressionTable | back to summary |
|---|---|
| pack-priv QueryExpressionTable(Schema schema, int id, String name) | |
| addDependencies | back to summary |
|---|---|
| public final void addDependencies(HashSet<DbObject> dependencies) Overrides org. Doc from org. Add all objects that this table depends on to the hash set. | |
| addIndex | back to summary |
|---|---|
| public final Index addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) Implements abstract org. Doc from org. Create an index for this table
| |
| addRow | back to summary |
|---|---|
| public final void addRow(SessionLocal session, Row row) Implements abstract org. Doc from org. Add a row to the table and all indexes.
| |
| canGetRowCount | back to summary |
|---|---|
| public final boolean canGetRowCount(SessionLocal session) Implements abstract org. Doc from org. Check if the row count can be retrieved quickly.
| |
| canReference | back to summary |
|---|---|
| public final boolean canReference() Overrides org. Doc from org. Check if this table can be referenced.
| |
| checkSupportAlter | back to summary |
|---|---|
| public final void checkSupportAlter() Implements abstract org. Doc from org. Check if this table supports ALTER TABLE.
| |
| close | back to summary |
|---|---|
| public final void close(SessionLocal session) Implements abstract org. Doc from org. Close the table object and flush changes.
| |
| createIndex | back to summary |
|---|---|
| pack-priv abstract QueryExpressionIndex createIndex(SessionLocal session, int[] masks) | |
| createQueryColumnTemplateList | back to summary |
|---|---|
| public static List Creates a list of column templates from a query (usually from WITH query, but could be any query) | |
| getBestPlanItem | back to summary |
|---|---|
| public final PlanItem getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Overrides org. Doc from org. Get the best plan for the given search mask.
| |
| getIndexes | back to summary |
|---|---|
| public final ArrayList Implements abstract org. Doc from org. Get all indexes for this table. | |
| getMaxDataModificationId | back to summary |
|---|---|
| public long getMaxDataModificationId() Implements abstract org. Doc from org. Get the last data modification id.
| |
| getParameterOffset | back to summary |
|---|---|
| public final int getParameterOffset(ArrayList<Parameter> additionalParameters) Get the index of the first parameter. | |
| getQuery | back to summary |
|---|---|
| public final Query getQuery() | |
| getQueryScope | back to summary |
|---|---|
| public abstract QueryScope getQueryScope() Returns the scope of this table
| |
| getRowCount | back to summary |
|---|---|
| public final long getRowCount(SessionLocal session) Implements abstract org. Doc from org. Get the row count for this table.
| |
| getRowCountApproximation | back to summary |
|---|---|
| public final long getRowCountApproximation(SessionLocal session) Implements abstract org. Doc from org. Get the approximated row count for this table.
| |
| getScanIndex | back to summary |
|---|---|
| public final Index getScanIndex(SessionLocal session) Implements abstract org. Doc from org. Get the scan index to iterate through all rows.
| |
| 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.
| |
| getTopQuery | back to summary |
|---|---|
| public abstract Query getTopQuery() | |
| initColumns | back to summary |
|---|---|
| pack-priv Column[] initColumns(SessionLocal session, Column[] columnTemplates, Query query, boolean isDerivedTable) | |
| isDeterministic | back to summary |
|---|---|
| public boolean isDeterministic() Implements abstract org. Doc from org. Check if the table is deterministic.
| |
| isInsertable | back to summary |
|---|---|
| public final boolean isInsertable() Overrides org. Doc from org. Returns whether this table is insertable.
| |
| isQueryComparable | back to summary |
|---|---|
| public boolean isQueryComparable() Overrides org. Doc from org. Check whether the table (or view) contains no columns that prevent index conditions to be used. For example, a view that contains the ROWNUM() pseudo-column prevents this.
| |
| isView | back to summary |
|---|---|
| public final boolean isView() Overrides org.
| |
| removeRow | back to summary |
|---|---|
| public final void removeRow(SessionLocal session, Row row) Implements abstract org. Doc from org. Remove a row from the table and all indexes.
| |
| truncate | back to summary |
|---|---|
| public final long truncate(SessionLocal session) Implements abstract org. Doc from org. Remove all rows from the table and indexes.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int[] | |
| private final QueryExpressionTable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| masks | back to summary |
|---|---|
| private final int[] masks | |
| queryExpressionTable | back to summary |
|---|---|
| private final QueryExpressionTable queryExpressionTable | |
| CacheKey | back to summary |
|---|---|
| pack-priv CacheKey(int[] masks, QueryExpressionTable queryExpressionTable) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |