|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvishnu.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 Indexpublic java.lang.String name()
Index
name in interface Indexpublic int getStructure()
Index
getStructure in interface Indexpublic Table getTable()
public boolean isUnique()
Index
isUnique in interface Indexpublic boolean isClustered()
Index
isClustered in interface Indexpublic Value getStructureIdentifier()
Index
getStructureIdentifier in interface Indexpublic void attach(TableContext c)
Index
attach in interface Indexprotected Database database()
protected UserContext userContext()
public void notifyDelete(Record r)
notifyDelete in interface Indexpublic void notifyUpdate(Record r)
notifyUpdate in interface Index
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||