public abstract class TableBase extends Table
Modifier and Type | Field and Description |
---|---|
protected String |
tableEngine
The table engine used (null for regular tables).
|
columns, compareMode, EXTERNAL_TABLE_ENGINE, isHidden, SYSTEM_TABLE, TABLE, TABLE_LINK, TYPE_CACHED, TYPE_MEMORY, VIEW
comment, database, trace
AGGREGATE, COMMENT, CONSTANT, CONSTRAINT, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, TABLE_OR_VIEW, TRIGGER, USER, USER_DATATYPE
Constructor and Description |
---|
TableBase(CreateTableData data) |
Modifier and Type | Method and Description |
---|---|
String |
getCreateSQL()
Build a SQL statement to re-create this object.
|
String |
getDropSQL()
Build a SQL statement to drop this object.
|
boolean |
isGlobalTemporary() |
addConstraint, addDependencies, addIndex, addRow, addSequence, addTrigger, addView, canDrop, canGetRowCount, canReference, canTruncate, checkDeadlock, checkSupportAlter, checkWritingAllowed, close, commit, compareTypeSave, doesColumnExist, dropSingleColumnConstraintsAndIndexes, findPrimaryKey, fire, fireAfterRow, fireBeforeRow, fireRow, getBestPlanItem, getCheckForeignKeyConstraints, getChildren, getColumn, getColumn, getColumns, getCompareMode, getConstraints, getCreateSQLForCopy, getDefaultValue, getIndexes, getIndexForColumn, getMaxDataModificationId, getOnCommitDrop, getOnCommitTruncate, getPrimaryKey, getRowCount, getRowCountApproximation, getRowIdColumn, getScanIndex, getTableType, getTemplateRow, getTemplateSimpleRow, getType, getUniqueIndex, getViews, hasSelectTrigger, isDeterministic, isHidden, isLockedExclusively, isLockedExclusivelyBy, isPersistData, isPersistIndexes, lock, removeChildrenAndResources, removeConstraint, removeIndex, removeIndexOrTransferOwnership, removeRow, removeSequence, removeTrigger, removeView, rename, renameColumn, setCheckForeignKeyConstraints, setColumns, setHidden, setOnCommitDrop, setOnCommitTruncate, truncate, unlock, updateRows, validateConvertUpdateSequence
getSchema, getSQL, initSchemaObjectBase
checkRename, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, setComment, setModified, setObjectName, setTemporary, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkRename, getComment, getDatabase, getId, getName, isTemporary, setComment, setTemporary
protected final String tableEngine
public TableBase(CreateTableData data)
public String getDropSQL()
DbObjectBase
getDropSQL
in interface DbObject
getDropSQL
in class DbObjectBase
public String getCreateSQL()
DbObjectBase
getCreateSQL
in interface DbObject
getCreateSQL
in class DbObjectBase
public boolean isGlobalTemporary()
isGlobalTemporary
in class Table
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.