| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Comparator | CONSTRAINTS_COMPARATOR
Comparator for prepared constraints, sorts unique and primary key constraints first. |
| private final int | |
| private final int | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: -1, 0, or 1the other record other)Implements java. Sort the list of meta records by 'create order'. |
| pack-priv static void | execute(Database
the database db, Prepared the prepared command command, DatabaseEventListener the database event listener listener, String SQL sql)Execute the meta data statement. |
| private int | |
| public int | |
| public int | |
| public String | |
| public static void | populateRowFromDBObject(DbObject
database object obj, SearchRow search row r)Copy metadata from the specified object into specified search row. |
| pack-priv Prepared | Returns: the prepared commandthe database db, SessionLocal the system session systemSession, DatabaseEventListener the database event listener listener)Prepares the meta data statement. |
| pack-priv void | prepareAndExecute(Database
the database db, SessionLocal the system session systemSession, DatabaseEventListener the database event listener listener)Execute the meta data statement. |
| private static void | |
| public String |
| CONSTRAINTS_COMPARATOR | back to summary |
|---|---|
| pack-priv static final Comparator<Prepared> CONSTRAINTS_COMPARATOR Comparator for prepared constraints, sorts unique and primary key constraints first. | |
| id | back to summary |
|---|---|
| private final int id | |
| objectType | back to summary |
|---|---|
| private final int objectType | |
| sql | back to summary |
|---|---|
| private final String sql | |
| MetaRecord | back to summary |
|---|---|
| public MetaRecord(SearchRow r) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(MetaRecord other) Implements java. Sort the list of meta records by 'create order'.
| |
| execute | back to summary |
|---|---|
| pack-priv static void execute(Database db, Prepared command, DatabaseEventListener listener, String sql) Execute the meta data statement.
| |
| getCreateOrder | back to summary |
|---|---|
| private int getCreateOrder() Get the sort order id for this object type. Objects are created in this order when opening a database.
| |
| getId | back to summary |
|---|---|
| public int getId() | |
| getObjectType | back to summary |
|---|---|
| public int getObjectType() | |
| getSQL | back to summary |
|---|---|
| public String getSQL() | |
| populateRowFromDBObject | back to summary |
|---|---|
| public static void populateRowFromDBObject(DbObject obj, SearchRow r) Copy metadata from the specified object into specified search row. | |
| prepare | back to summary |
|---|---|
| pack-priv Prepared prepare(Database db, SessionLocal systemSession, DatabaseEventListener listener) Prepares the meta data statement.
| |
| prepareAndExecute | back to summary |
|---|---|
| pack-priv void prepareAndExecute(Database db, SessionLocal systemSession, DatabaseEventListener listener) Execute the meta data statement.
| |
| throwException | back to summary |
|---|---|
| private static void throwException(Database db, DatabaseEventListener listener, DbException e, String sql) | |
| 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- | |