| 1 package com.daffodilwoods.daffodildb.server.datasystem.interfaces; 2 3 import com.daffodilwoods.database.resource.DException; 4 import com.daffodilwoods.database.general.QualifiedIdentifier; 5 import com.daffodilwoods.daffodildb.server.datasystem.indexsystem._IndexInformation; 6 7 17 public interface _IndexDatabase extends _Database{ 18 19 26 public void createTemporaryIndex(QualifiedIdentifier tableName,String indexName, 27 _IndexInformation indexInformationGetter) throws DException; 28 29 36 public void createPermanantIndex(QualifiedIdentifier tableName,String indexName, 37 _IndexInformation indexInformationGetter,_DatabaseUser user) throws DException; 38 39 45 public void dropTemporaryIndex(QualifiedIdentifier tableName,String indexName) throws DException; 46 47 53 public void dropPeramanantIndex(QualifiedIdentifier tableName,String indexName,_DatabaseUser user) throws DException; 54 55 56 void alterTable(QualifiedIdentifier tableName,Object columnInfo, _AlterRecord alterRecord,Object defaultValue,_DatabaseUser user) throws DException ; 57 58 void createFullTextIndex(QualifiedIdentifier tableName,String indexName,String [] columnName)throws DException; 59 void dropFullTextIndex(QualifiedIdentifier tableName,String indexName) throws DException; 60 _Table getTable(QualifiedIdentifier tableName,_IndexInformation[] iinf) throws DException; 61 } 62 | Popular Tags |