public abstract class SchemaObject extends DbObject
AGGREGATE, 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| Modifier | Constructor and Description |
|---|---|
protected |
SchemaObject(Schema newSchema,
int id,
java.lang.String name,
int traceModuleId)
Initialize some attributes of this object.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
getSchema()
Get the schema in which this object is defined
|
java.lang.String |
getSQL(int sqlFlags)
Get the SQL statement of this expression.
|
java.lang.StringBuilder |
getSQL(java.lang.StringBuilder builder,
int sqlFlags)
Appends the SQL statement of this object to the specified builder.
|
boolean |
isHidden()
Check whether this is a hidden object that doesn't appear in the meta
data and in the script, and is not dropped on DROP ALL OBJECTS.
|
checkRename, getChildren, getComment, getCreateSQL, getCreateSQLForCopy, getCreateSQLForMeta, getDatabase, getDropSQL, getId, getModificationId, getName, getType, invalidate, isTemporary, isValid, removeChildrenAndResources, rename, setComment, setModified, setObjectName, setTemporary, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTraceSQLprotected SchemaObject(Schema newSchema, int id, java.lang.String name, int traceModuleId)
newSchema - the schemaid - the object idname - the nametraceModuleId - the trace module idpublic final Schema getSchema()
public java.lang.String getSQL(int sqlFlags)
HasSQLpublic java.lang.StringBuilder getSQL(java.lang.StringBuilder builder,
int sqlFlags)
HasSQLpublic boolean isHidden()