Package org.h2.engine
Class MetaRecord
java.lang.Object
org.h2.engine.MetaRecord
- All Implemented Interfaces:
Comparable<MetaRecord>
A record in the system table of the database.
It contains the SQL statement to create the database object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(MetaRecord other) Sort the list of meta records by 'create order'.intgetId()intgetSQL()static voidpopulateRowFromDBObject(DbObject obj, org.h2.result.SearchRow r) Copy metadata from the specified object into specified search row.toString()
-
Constructor Details
-
MetaRecord
public MetaRecord(org.h2.result.SearchRow r)
-
-
Method Details
-
populateRowFromDBObject
Copy metadata from the specified object into specified search row.- Parameters:
obj- database objectr- search row
-
getId
public int getId() -
getObjectType
public int getObjectType() -
getSQL
-
compareTo
Sort the list of meta records by 'create order'.- Specified by:
compareToin interfaceComparable<MetaRecord>- Parameters:
other- the other record- Returns:
- -1, 0, or 1
-
toString
-