|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.indexes.AbstractIndex
public abstract class AbstractIndex
Field Summary | |
---|---|
protected TableContext |
context
|
Fields inherited from interface vishnu.model.indexes.Index |
---|
BTREE, CLUSTERED, HASH, UNIQUE |
Constructor Summary | |
---|---|
AbstractIndex(java.lang.String name,
boolean isUnique,
boolean isClustered,
int structure,
java.util.List<java.lang.String> searchKeys)
|
Method Summary | |
---|---|
void |
attach(TableContext c)
Usado para definir el esquema del indice. |
protected Database |
database()
|
int |
getStructure()
devuelve el tipo de estructura del indice (HASH , BTREE o algun otro) |
Value |
getStructureIdentifier()
devuelve el tipo de estructura del indice (HASH , BTREE o algun otro) |
Table |
getTable()
|
boolean |
isClustered()
indica si el indice es clustered |
boolean |
isUnique()
indica si el indice es unique |
java.lang.String |
name()
devuelve el nombre del indice |
void |
notifyDelete(Record r)
|
void |
notifyUpdate(Record r)
|
java.util.List<java.lang.String> |
searchKeys()
TODO FIX COMMENT. |
protected UserContext |
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 |
---|
createSearchKeyRecord, matchingRecords, notifyInsert |
Field Detail |
---|
protected TableContext context
Constructor Detail |
---|
public AbstractIndex(java.lang.String name, boolean isUnique, boolean isClustered, int structure, java.util.List<java.lang.String> searchKeys)
Method Detail |
---|
public java.util.List<java.lang.String> searchKeys()
Index
searchKeys
in interface Index
public java.lang.String name()
Index
name
in interface Index
public int getStructure()
Index
getStructure
in interface Index
public Table getTable()
public boolean isUnique()
Index
isUnique
in interface Index
public boolean isClustered()
Index
isClustered
in interface Index
public Value getStructureIdentifier()
Index
getStructureIdentifier
in interface Index
public void attach(TableContext c)
Index
attach
in interface Index
protected Database database()
protected UserContext userContext()
public void notifyDelete(Record r)
notifyDelete
in interface Index
public void notifyUpdate(Record r)
notifyUpdate
in interface Index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |