| Modifier and Type | Field and Description |
|---|---|
| public static final int | AGGREGATE
This object is a user-defined aggregate function. |
| public static final int | COMMENT
This object is a comment. |
| protected String | comment
The comment (if set). |
| public static final int | CONSTANT
This object is a constant. |
| public static final int | CONSTRAINT
This object is a constraint (check constraint, unique constraint, or referential constraint). |
| protected Database | database
The database. |
| public static final int | DOMAIN
This object is a domain. |
| public static final int | FUNCTION_ALIAS
This object is an alias for a Java function. |
| private int | |
| public static final int | INDEX
This object is an index. |
| private long | |
| private String | |
| public static final int | RIGHT
This object is a right. |
| public static final int | ROLE
This object is a role. |
| public static final int | SCHEMA
This object is a schema. |
| public static final int | SEQUENCE
This object is a sequence. |
| public static final int | SETTING
This object is a setting. |
| public static final int | SYNONYM
This object is a synonym. |
| public static final int | TABLE_OR_VIEW
The object is of the type table or view. |
| private boolean | |
| protected Trace | trace
The trace module. |
| public static final int | TRIGGER
This object is a trigger. |
| public static final int | USER
This object is a user. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ArrayList | Returns: the list of children, ornullGet the list of dependent children (for tables, this includes indexes and so on). |
| public String | |
| public abstract String | |
| public String | Returns: the SQL statementthe new table table, String the quoted name quotedName)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 final Database | |
| public String | |
| public final int | |
| public final long | |
| public final String | |
| public String | getSQL(int
formatting flags sqlFlags)Overrides default org. Get the SQL statement of this expression. |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public abstract int | |
| protected void | |
| public boolean | Returns: true if is temporaryCheck if this object is temporary (for example, a temporary table). |
| public final boolean | |
| public abstract void | removeChildrenAndResources(SessionLocal
the session session)Delete all dependent children objects and resources of this object. |
| public void | |
| public void | |
| public final void | |
| protected final void | |
| public void | |
| public String |
| AGGREGATE | back to summary |
|---|---|
| public static final int AGGREGATE This object is a user-defined aggregate function. | |
| COMMENT | back to summary |
|---|---|
| public static final int COMMENT This object is a comment. | |
| comment | back to summary |
|---|---|
| protected String comment The comment (if set). | |
| CONSTANT | back to summary |
|---|---|
| public static final int CONSTANT This object is a constant. | |
| CONSTRAINT | back to summary |
|---|---|
| public static final int CONSTRAINT This object is a constraint (check constraint, unique constraint, or referential constraint). | |
| database | back to summary |
|---|---|
| protected Database database The database. | |
| DOMAIN | back to summary |
|---|---|
| public static final int DOMAIN This object is a domain. | |
| FUNCTION_ALIAS | back to summary |
|---|---|
| public static final int FUNCTION_ALIAS This object is an alias for a Java function. | |
| id | back to summary |
|---|---|
| private int id | |
| INDEX | back to summary |
|---|---|
| public static final int INDEX This object is an index. | |
| modificationId | back to summary |
|---|---|
| private long modificationId | |
| objectName | back to summary |
|---|---|
| private String objectName | |
| RIGHT | back to summary |
|---|---|
| public static final int RIGHT This object is a right. | |
| ROLE | back to summary |
|---|---|
| public static final int ROLE This object is a role. | |
| SCHEMA | back to summary |
|---|---|
| public static final int SCHEMA This object is a schema. | |
| SEQUENCE | back to summary |
|---|---|
| public static final int SEQUENCE This object is a sequence. | |
| SETTING | back to summary |
|---|---|
| public static final int SETTING This object is a setting. | |
| SYNONYM | back to summary |
|---|---|
| public static final int SYNONYM This object is a synonym. | |
| TABLE_OR_VIEW | back to summary |
|---|---|
| public static final int TABLE_OR_VIEW The object is of the type table or view. | |
| temporary | back to summary |
|---|---|
| private boolean temporary | |
| trace | back to summary |
|---|---|
| protected Trace trace The trace module. | |
| TRIGGER | back to summary |
|---|---|
| public static final int TRIGGER This object is a trigger. | |
| USER | back to summary |
|---|---|
| public static final int USER This object is a user. | |
| DbObject | back to summary |
|---|---|
| protected DbObject(Database db, int objectId, String name, int traceModuleId) Initialize some attributes of this object. | |
| checkRename | back to summary |
|---|---|
| public void checkRename() Check if renaming is allowed. Does nothing when allowed. | |
| getChildren | back to summary |
|---|---|
| public ArrayList Get the list of dependent children (for tables, this includes indexes and so on). | |
| getComment | back to summary |
|---|---|
| public String getComment() Get the current comment of this object.
| |
| getCreateSQL | back to summary |
|---|---|
| public abstract String getCreateSQL() Construct the CREATE ... SQL statement for this object.
| |
| getCreateSQLForCopy | back to summary |
|---|---|
| public String getCreateSQLForCopy(Table table, String quotedName) 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 | |
| getCreateSQLForMeta | back to summary |
|---|---|
| public String getCreateSQLForMeta() Construct the CREATE ... SQL statement for this object for meta table.
| |
| getDatabase | back to summary |
|---|---|
| public final Database getDatabase() Get the database.
| |
| getDropSQL | back to summary |
|---|---|
| public String getDropSQL() Construct a DROP ... SQL statement for this object.
| |
| getId | back to summary |
|---|---|
| public final int getId() Get the unique object id.
| |
| getModificationId | back to summary |
|---|---|
| public final long getModificationId() | |
| getName | back to summary |
|---|---|
| public final String getName() Get the name.
| |
| getSQL | back to summary |
|---|---|
| public String getSQL(int sqlFlags) Overrides default org. Doc from org. Get the SQL statement of this expression. This may not always be the original SQL statement, specially after optimization. | |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getType | back to summary |
|---|---|
| public abstract int getType() Get the object type.
| |
| invalidate | back to summary |
|---|---|
| protected void invalidate() Set the main attributes to null to make sure the object is no longer used. | |
| isTemporary | back to summary |
|---|---|
| public boolean isTemporary() Check if this object is temporary (for example, a temporary table).
| |
| isValid | back to summary |
|---|---|
| public final boolean isValid() | |
| removeChildrenAndResources | back to summary |
|---|---|
| public abstract void removeChildrenAndResources(SessionLocal session) Delete all dependent children objects and resources of this object.
| |
| rename | back to summary |
|---|---|
| public void rename(String newName) Rename the object.
| |
| setComment | back to summary |
|---|---|
| public void setComment(String comment) Change the comment of this object.
| |
| setModified | back to summary |
|---|---|
| public final void setModified() Tell the object that is was modified. | |
| setObjectName | back to summary |
|---|---|
| protected final void setObjectName(String name) | |
| setTemporary | back to summary |
|---|---|
| public void setTemporary(boolean temporary) Tell this object that it is temporary or not.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |