| Modifier and Type | Field and Description |
|---|---|
| private final ArrayList | |
| private final String | |
| private final Query |
| Access | Constructor and Description |
|---|---|
| public | DerivedTable(SessionLocal
the session session, String the view name name, Column[] column templates, or columnTemplates, Query nullthe initialized query query, Query the top level query topQuery)Create a derived table out of the given query. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| protected QueryExpressionIndex | createIndex(SessionLocal session, int[] masks)
Implements abstract org.
|
| public String | |
| public QueryScope | getQueryScope()
Implements abstract org. Returns the scope of this table |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Overrides org. Implements org. Appends the SQL statement of this object to the specified builder. |
| public TableType | |
| public Query | |
| public boolean | isQueryComparable()
Overrides org. Check whether the table (or view) contains no columns that prevent index conditions to be used. |
| originalParameters | back to summary |
|---|---|
| private final ArrayList<Parameter> originalParameters | |
| querySQL | back to summary |
|---|---|
| private final String querySQL | |
| topQuery | back to summary |
|---|---|
| private final Query topQuery | |
| DerivedTable | back to summary |
|---|---|
| public DerivedTable(SessionLocal session, String name, Column[] columnTemplates, Query query, Query topQuery) Create a derived table out of the given query.
| |
| canDrop | back to summary |
|---|---|
| public boolean canDrop() Implements abstract org. Doc from org. Check if this table can be dropped.
| |
| 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. | |
| getQueryScope | back to summary |
|---|---|
| public QueryScope getQueryScope() Implements abstract org. Doc from org. Returns the scope of this table
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Overrides org. Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| 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.
| |
| 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.
| |