vishnu.model.catalog
Class IndexCatalogImpl
java.lang.Object
vishnu.model.catalog.AbstractCatalog
vishnu.model.catalog.IndexCatalogImpl
- All Implemented Interfaces:
- Catalog, IndexCatalog
public class IndexCatalogImpl
- extends AbstractCatalog
- implements IndexCatalog
-
Fields inherited from class vishnu.model.catalog.AbstractCatalog |
catalog, columnName, databaseName, innerTable, name, nameFieldSize, pkSet, tableName, tableSignature, userFieldSize, userName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildSignature
protected void buildSignature()
- Specified by:
buildSignature
in class AbstractCatalog
buildPK
protected void buildPK()
- Specified by:
buildPK
in class AbstractCatalog
addIndex
public void addIndex(IndexContext c)
- Description copied from interface:
IndexCatalog
- agrega un indice al catalogo de indices
- Specified by:
addIndex
in interface IndexCatalog
dropIndex
public void dropIndex(IndexContext c)
- Description copied from interface:
IndexCatalog
- elimina el indice del catalogo de indices
- Specified by:
dropIndex
in interface IndexCatalog
contains
public boolean contains(IndexContext c)
- Description copied from interface:
IndexCatalog
- indica si el catalogo contiene al indice
- Specified by:
contains
in interface IndexCatalog
getIndexes
public java.util.Collection<Index> getIndexes(TableContext c)
- Description copied from interface:
IndexCatalog
- devuelve el conjunto de indices definidos sobre la tabla
- Specified by:
getIndexes
in interface IndexCatalog
getIndex
public Index getIndex(IndexContext c)
getIndexOnColumn
public java.util.Collection<Index> getIndexOnColumn(TableContext c,
java.lang.String columnName)
- Description copied from interface:
IndexCatalog
- devuelve el indice definido sobre una columna de una tabla
- Specified by:
getIndexOnColumn
in interface IndexCatalog