vishnu.model.indexes.hashing
Class AbstractHashIndex

java.lang.Object
  extended by vishnu.model.indexes.AbstractIndex
      extended by vishnu.model.indexes.hashing.AbstractHashIndex
All Implemented Interfaces:
HashIndex, Index
Direct Known Subclasses:
StaticHashIndex

public abstract class AbstractHashIndex
extends AbstractIndex
implements HashIndex

Author:
Hernan Rancati
 

Nested Class Summary
 
Nested classes/interfaces inherited from interface vishnu.model.indexes.hashing.HashIndex
HashIndex.HashingStrategyNotSelectedException
 
Field Summary
 
Fields inherited from class vishnu.model.indexes.AbstractIndex
context
 
Fields inherited from interface vishnu.model.indexes.Index
BTREE, CLUSTERED, HASH, UNIQUE
 
Constructor Summary
AbstractHashIndex(java.lang.String name, boolean isUnique, boolean isClustered, int structure, java.util.List<java.lang.String> searchKeys)
           
 
Method Summary
 HashingStrategy hashingStrategy()
           
 void hashingStrategy(HashingStrategy s)
           
 
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
 
Methods inherited from interface vishnu.model.indexes.Index
attach, createSearchKeyRecord, getStructure, getStructureIdentifier, isClustered, isUnique, matchingRecords, name, notifyDelete, notifyInsert, notifyUpdate, searchKeys
 

Constructor Detail

AbstractHashIndex

public AbstractHashIndex(java.lang.String name,
                         boolean isUnique,
                         boolean isClustered,
                         int structure,
                         java.util.List<java.lang.String> searchKeys)
Method Detail

hashingStrategy

public HashingStrategy hashingStrategy()
Specified by:
hashingStrategy in interface HashIndex

hashingStrategy

public void hashingStrategy(HashingStrategy s)
Specified by:
hashingStrategy in interface HashIndex