1 package com.daffodilwoods.daffodildb.server.datasystem.interfaces; 2 3 import com.daffodilwoods.database.resource.DException; 4 import java.util.*; 5 import com.daffodilwoods.database.general.QualifiedIdentifier; 6 7 12 public interface _Database { 13 14 20 public _Table getTable(QualifiedIdentifier tableName ) throws DException; 21 22 27 28 34 public void createTable(QualifiedIdentifier tableName, Object columnInfo) throws DException; 35 36 43 44 49 public void dropTable(QualifiedIdentifier tableName) throws DException; 50 51 56 _DatabaseUser getDatabaseUser() throws DException; 57 62 public void removeTable(QualifiedIdentifier tableName) throws DException; 63 public _DatabaseUser getTempDatabaseUser() throws DException; 64 65 _DatabaseUser getDatabaseUser(ArrayList tableNames) throws DException; 66 public void addFreeCluster(_DatabaseUser user, int address)throws DException; 67 68 } 69 | Popular Tags |