1 20 package com.nilostep.xlsql.database; 21 22 import com.nilostep.xlsql.sql.xlSqlSelect; 23 24 25 26 32 public interface xlDatabase { 33 34 40 public void addRow(String schema, String table) ; 41 42 50 public String [] getColumnNames(String schema, String table) ; 51 52 62 public String [] getColumnTypes(String schema, String table) ; 63 64 74 public String [][] getValues(String schema, String table) 75 throws xlException ; 76 77 88 public int getRows(String schema, String table) ; 89 90 95 public String [] getSchemas() ; 96 97 104 public String [] getTables(String schema) ; 105 106 111 public void addSchema(String schema) ; 112 113 119 public void addTable(String schema, String table) ; 120 121 128 public void flush(xlSqlSelect query) throws Exception ; 129 130 136 public void removeTable(String schema, String table) ; 137 138 145 public boolean schemaExists(String schema) ; 146 147 155 public boolean tableExists(String schema, String table) ; 156 157 162 public void touchSchema(String schema) ; 163 164 170 public void touchTable(String schema, String table) ; 171 } | Popular Tags |