MetaTable
This class is responsible to build the database meta data pseudo tables.
| Methods |
| static int |
getMetaTableTypeCount()
Get the number of meta table types.
|
| static int |
getMetaTableTypeCount()
Get the number of meta table types. Supported meta table
types are 0 .. this value - 1.
Returns:
the number of meta table types
|
|
MetaTable(Schema schema, int id, int type)
Create a new metadata table.
|
|
MetaTable(Schema schema, int id, int type)
Create a new metadata table.
Parameters:
schema - the schema
id - the object id
type - the meta table type
|
| Index |
addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
|
| Index |
addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
|
| void |
addRow(Session session, Row row)
|
| void |
addRow(Session session, Row row)
|
| boolean |
canDrop()
|
| boolean |
canDrop()
|
| boolean |
canGetRowCount()
|
| boolean |
canGetRowCount()
|
| boolean |
canReference()
|
| boolean |
canReference()
|
| void |
checkRename()
|
| void |
checkRename()
|
| void |
checkSupportAlter()
|
| void |
checkSupportAlter()
|
| void |
close(Session session)
|
| void |
close(Session session)
|
| ArrayList |
generateRows(Session session, SearchRow first, SearchRow last)
Generate the data for the given metadata table using the given first and
last row filters.
|
| ArrayList |
generateRows(Session session, SearchRow first, SearchRow last)
Generate the data for the given metadata table using the given first and
last row filters.
Parameters:
session - the session
first - the first row to return
last - the last row to return
Returns:
the generated rows
|
| String |
getCreateSQL()
|
| String |
getCreateSQL()
|
| long |
getDiskSpaceUsed()
|
| long |
getDiskSpaceUsed()
|
| String |
getDropSQL()
|
| String |
getDropSQL()
|
| ArrayList |
getIndexes()
|
| ArrayList |
getIndexes()
|
| long |
getMaxDataModificationId()
|
| long |
getMaxDataModificationId()
|
| long |
getRowCount(Session session)
|
| long |
getRowCount(Session session)
|
| long |
getRowCountApproximation()
|
| long |
getRowCountApproximation()
|
| Index |
getScanIndex(Session session)
|
| Index |
getScanIndex(Session session)
|
| TableType |
getTableType()
|
| TableType |
getTableType()
|
| Index |
getUniqueIndex()
|
| Index |
getUniqueIndex()
|
| boolean |
isDeterministic()
|
| boolean |
isDeterministic()
|
| boolean |
isLockedExclusively()
|
| boolean |
isLockedExclusively()
|
| boolean |
lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
|
| boolean |
lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
|
| void |
removeChildrenAndResources(Session session)
|
| void |
removeChildrenAndResources(Session session)
|
| void |
removeRow(Session session, Row row)
|
| void |
removeRow(Session session, Row row)
|
| void |
truncate(Session session)
|
| void |
truncate(Session session)
|
| void |
unlock(Session s)
|
| void |
unlock(Session s)
|
ROW_COUNT_APPROXIMATION
= 1000L
The approximate number of rows of a meta table.
|