public abstract class PageIndex extends BaseIndex
Modifier and Type | Field and Description |
---|---|
protected int |
rootPageId
The root page of this index.
|
columnIds, columns, indexColumns, indexType, isMultiVersion, table
comment, database, trace
AGGREGATE, COMMENT, CONSTANT, CONSTRAINT, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, TABLE_OR_VIEW, TRIGGER, USER, USER_DATATYPE
Constructor and Description |
---|
PageIndex() |
Modifier and Type | Method and Description |
---|---|
int |
getRootPageId()
Get the root page of this index.
|
void |
setSortedInsertMode(boolean sortedInsertMode)
Enable or disable the 'sorted insert' optimizations (rows are inserted in
ascending or descending order) if applicable for this index
implementation.
|
abstract void |
writeRowCount()
Write back the row count if it has changed.
|
canFindNext, canScan, commit, compareRows, find, findNext, getColumnIndex, getColumns, getCreateSQL, getCreateSQLForCopy, getDropSQL, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, initBaseIndex, isHidden, isRowIdIndex, removeChildrenAndResources
getSchema, getSQL, initSchemaObjectBase
checkRename, getChildren, getComment, getDatabase, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, rename, setComment, setModified, setObjectName, setTemporary, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, canGetFirstOrLast, close, find, findFirstOrLast, getCost, getRowCount, getRowCountApproximation, needRebuild, remove, remove, truncate
getSchema
checkRename, getChildren, getComment, getDatabase, getId, getName, getSQL, isTemporary, rename, setComment, setTemporary
public int getRootPageId()
public abstract void writeRowCount()
public void setSortedInsertMode(boolean sortedInsertMode)
Index
setSortedInsertMode
in interface Index
setSortedInsertMode
in class BaseIndex
sortedInsertMode
- the new valueCopyright © 2012 JBoss by Red Hat. All Rights Reserved.