org.hsqldb.index
Class IndexAVLMemory
- java.lang.Object
-
- org.hsqldb.index.IndexAVL
-
- org.hsqldb.index.IndexAVLMemory
-
- All Implemented Interfaces:
- Index, SchemaObject
public class IndexAVLMemory extends IndexAVL
Implementation of an AVL for memory tables.New class derived from Hypersonic SQL code and enhanced in HSQLDB.
- Since:
- Hypersonic SQL
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hsqldb.index.IndexAVL
IndexAVL.IndexRowIterator
-
Nested classes/interfaces inherited from interface org.hsqldb.index.Index
Index.IndexUse
-
Nested classes/interfaces inherited from interface org.hsqldb.SchemaObject
SchemaObject.ConstraintTypes, SchemaObject.Deferable, SchemaObject.Nullability, SchemaObject.ParameterModes, SchemaObject.ReferentialAction, SchemaObject.ViewCheckModes
-
-
Field Summary
-
Fields inherited from interface org.hsqldb.index.Index
cachedFactor, emptyArray, emptyUseArray, INDEX_NON_UNIQUE, INDEX_NONE, INDEX_UNIQUE, minimumSelectivity, probeDepth
-
Fields inherited from interface org.hsqldb.SchemaObject
ASSERTION, CATALOG, CHARSET, COLLATION, COLUMN, CONSTRAINT, CURSOR, DOMAIN, FUNCTION, GRANTEE, INDEX, LABEL, PARAMETER, PROCEDURE, ROUTINE, SCHEMA, SEARCH, SEQUENCE, SERVER, SPECIFIC_ROUTINE, SUBQUERY, TABLE, TRANSITION, TRIGGER, TYPE, VARIABLE, VIEW, WRAPPER
-
-
Constructor Summary
Constructors Constructor and Description IndexAVLMemory(HsqlNameManager.HsqlName name, long id, TableBase table, int[] columns, boolean[] descending, boolean[] nullsLast, Type[] colTypes, boolean pk, boolean unique, boolean constraint, boolean forward)Constructor declaration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckIndex(PersistentStore store)voidinsert(Session session, PersistentStore store, Row row)Insert a node into the index-
Methods inherited from class org.hsqldb.index.IndexAVL
asArray, compareRow, compareRowForChange, compareRowNonUnique, compareRowNonUnique, compareRowNonUnique, compile, delete, emptyIterator, existsParent, findFirstRow, findFirstRow, findFirstRow, findFirstRowNotNull, firstRow, firstRow, getCatalogName, getChangeTimestamp, getColumnCount, getColumnDesc, getColumns, getColumnTypes, getComponents, getDefaultColumnMap, getIndexOrderValue, getName, getNodeCount, getOwner, getPersistenceId, getPosition, getReferences, getSchemaName, getSQL, getType, isClustered, isConstraint, isEmpty, isForward, isUnique, lastRow, searchCost, setClustered, setPosition, setTable, size, sizeUnique, unlinkNodes
-
-
-
-
Constructor Detail
-
IndexAVLMemory
public IndexAVLMemory(HsqlNameManager.HsqlName name, long id, TableBase table, int[] columns, boolean[] descending, boolean[] nullsLast, Type[] colTypes, boolean pk, boolean unique, boolean constraint, boolean forward)
Constructor declaration- Parameters:
name- HsqlName of the indexid- persistnece idtable- table of the indexcolumns- array of column indexesdescending- boolean[]nullsLast- boolean[]colTypes- array of column typespk- if index is for a primary keyunique- is this a unique indexconstraint- does this index belonging to a constraintforward- is this an auto-index for an FK that refers to a table defined after this table
-
-
Method Detail
-
checkIndex
public void checkIndex(PersistentStore store)
- Specified by:
checkIndexin interfaceIndex- Overrides:
checkIndexin classIndexAVL
-
-
DataMelt 3.0 © DataMelt by jWork.ORG