vishnu.model.indexes.hashing
Class StaticHashIndex
java.lang.Object
vishnu.model.indexes.AbstractIndex
vishnu.model.indexes.hashing.AbstractHashIndex
vishnu.model.indexes.hashing.StaticHashIndex
- All Implemented Interfaces:
- HashIndex, Index
public class StaticHashIndex
- extends AbstractHashIndex
Implementation details:
Index Table Signature
type:IntegerValue | identifier:IntegerValue | searchKey0: T0 | searchKey1: T1 | ... | searchKeyN: TN
Al encontrar:
nextBucketIdentifier==actualBucketIdentifier: fin del bucket
- Author:
- Hernan Rancati
-
Constructor Summary |
StaticHashIndex(java.lang.String name,
boolean isUnique,
boolean isClustered,
java.util.List<java.lang.String> searchKeys)
|
Methods inherited from class vishnu.model.indexes.AbstractIndex |
attach, database, getStructure, getStructureIdentifier, getTable, isClustered, isUnique, name, notifyDelete, notifyUpdate, searchKeys, userContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticHashIndex
public StaticHashIndex(java.lang.String name,
boolean isUnique,
boolean isClustered,
java.util.List<java.lang.String> searchKeys)
matchingRecords
public RecordSet matchingRecords(Record searchKeyValues)
initialize
protected void initialize()
open
protected void open()
create
protected void create()
createBuckets
protected void createBuckets()
createBucketPage
protected void createBucketPage(int bucketPage)
indexSignature
protected TableSignature indexSignature()
notifyInsert
public void notifyInsert(Record r)
searchSignature
public TableSignature searchSignature()
createSearchKeyRecord
public Record createSearchKeyRecord()