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, tablecomment, database, trace| Modifier | Constructor and Description |
|---|---|
protected |
PageIndex(Table newTable,
int id,
java.lang.String name,
IndexColumn[] newIndexColumns,
IndexType newIndexType)
Initialize the page store index.
|
| 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, checkIndexColumnTypes, compareKeys, compareRows, createLookupBatch, find, findNext, getColumnIndex, getColumns, getCostRangeIndex, getCreateSQL, getCreateSQLForCopy, getDropSQL, getDuplicateKeyException, getDuplicatePrimaryKeyMessage, getIndexColumns, getIndexType, getPlanSQL, getRow, getTable, getType, isFindUsingFullTableScan, isFirstColumn, isHidden, isRowIdIndex, mayHaveNullDuplicates, removeChildrenAndResources, updategetSchema, getSQL, getSQLcheckRename, getChildren, getComment, getDatabase, getId, getModificationId, getName, invalidate, isTemporary, isValid, rename, setComment, setModified, setObjectName, setTemporary, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, canGetFirstOrLast, close, find, findFirstOrLast, getCost, getDiskSpaceUsed, getRowCount, getRowCountApproximation, needRebuild, remove, remove, truncategetSchemacheckRename, getChildren, getComment, getDatabase, getId, getName, getSQL, getSQL, isTemporary, rename, setComment, setTemporaryprotected PageIndex(Table newTable, int id, java.lang.String name, IndexColumn[] newIndexColumns, IndexType newIndexType)
newTable - the tableid - the object idname - the index namenewIndexColumns - the columns that are indexed or null if this is
not yet knownnewIndexType - the index typepublic int getRootPageId()
public abstract void writeRowCount()
public void setSortedInsertMode(boolean sortedInsertMode)
IndexsetSortedInsertMode in interface IndexsetSortedInsertMode in class BaseIndexsortedInsertMode - the new value