public final class DerivedTable extends QueryExpressionTable
columns, compareMode, EXCLUSIVE_LOCK, isHidden, READ_LOCK, TYPE_CACHED, TYPE_MEMORY, WRITE_LOCKAGGREGATE, comment, COMMENT, CONSTANT, CONSTRAINT, database, DOMAIN, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, SYNONYM, TABLE_OR_VIEW, trace, TRIGGER, USERADD_PLAN_INFORMATION, DEFAULT_SQL_FLAGS, NO_CASTS, QUOTE_ONLY_WHEN_REQUIRED, REPLACE_LOBS_FOR_TRACE, TRACE_SQL_FLAGS| 构造器和说明 |
|---|
DerivedTable(SessionLocal session,
String name,
Column[] columnTemplates,
Query query,
Query topQuery)
Create a derived table out of the given query.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canDrop()
Check if this table can be dropped.
|
String |
getCreateSQL()
Construct the CREATE ...
|
StringBuilder |
getSQL(StringBuilder builder,
int sqlFlags)
Appends the SQL statement of this object to the specified builder.
|
TableType |
getTableType()
Get the table type name
|
Query |
getTopQuery() |
boolean |
isQueryComparable()
Check whether the table (or view) contains no columns that prevent index
conditions to be used.
|
addDependencies, addIndex, addRow, canGetRowCount, canReference, checkSupportAlter, close, createQueryColumnTemplateList, getBestPlanItem, getIndexes, getMaxDataModificationId, getParameterOffset, getQuery, getRowCount, getRowCountApproximation, getScanIndex, getScanIndex, isDeterministic, isInsertable, isView, removeRow, truncateaddConstraint, addDependentView, addSequence, addSynonym, addTrigger, canTruncate, checkDeadlock, checkWritingAllowed, compareValues, convertInsertRow, convertUpdateRow, createRow, doesColumnExist, dropMultipleColumnsConstraintsAndIndexes, findColumn, findPrimaryKey, fire, fireAfterRow, fireBeforeRow, fireRow, getCheckForeignKeyConstraints, getChildren, getColumn, getColumn, getColumn, getColumns, getCompareMode, getConstraints, getDependentViews, getDiskSpaceUsed, getIdentityColumn, getIndex, getIndexForColumn, getMainIndexColumn, getNullRow, getOnCommitDrop, getOnCommitTruncate, getPrimaryKey, getRow, getRowFactory, getRowIdColumn, getSQLTableType, getTemplateRow, getTemplateSimpleRow, getTriggers, getType, hasSelectTrigger, isGlobalTemporary, isHidden, isLockedExclusively, isLockedExclusivelyBy, isPersistData, isPersistIndexes, isRowLockable, isTableExpression, lock, lockRow, removeChildrenAndResources, removeColumnExpressionsDependencies, removeConstraint, removeDependentView, removeIndex, removeIndexOrTransferOwnership, removeSequence, removeSynonym, removeTrigger, rename, renameColumn, setCheckForeignKeyConstraints, setColumns, setHidden, setOnCommitDrop, setOnCommitTruncate, setTableExpression, unlock, updateRow, updateRowsgetSchema, getSQLcheckRename, getComment, getCreateSQLForCopy, getCreateSQLForMeta, getDatabase, getDropSQL, getId, getModificationId, getName, invalidate, isTemporary, isValid, setComment, setModified, setObjectName, setTemporary, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTraceSQLpublic DerivedTable(SessionLocal session, String name, Column[] columnTemplates, Query query, Query topQuery)
session - the sessionname - the view namecolumnTemplates - column templates, or nullquery - the initialized querytopQuery - the top level querypublic boolean isQueryComparable()
TableisQueryComparable 在类中 QueryExpressionTablepublic boolean canDrop()
Tablepublic TableType getTableType()
TablegetTableType 在类中 Tablepublic Query getTopQuery()
getTopQuery 在类中 QueryExpressionTablepublic String getCreateSQL()
DbObjectgetCreateSQL 在类中 DbObjectpublic StringBuilder getSQL(StringBuilder builder, int sqlFlags)
HasSQLgetSQL 在接口中 HasSQLgetSQL 在类中 SchemaObjectbuilder - string buildersqlFlags - formatting flagsCopyright © 2022. All rights reserved.