1 25 26 package com.sqlmagic.tinysql; 27 28 import java.util.*; 29 import java.lang.*; 30 import java.io.*; 31 32 36 public abstract class tinySQLTable { 37 38 public String table; 40 public String tableAlias; 41 42 public Hashtable column_info = null; 45 46 51 public abstract int GetRowCount() throws tinySQLException; 52 57 public abstract void close() throws tinySQLException; 58 63 public abstract boolean isOpen() throws tinySQLException; 64 65 72 public abstract int ColSize(String column) throws tinySQLException; 73 80 public abstract int ColDec(String column) throws tinySQLException; 81 82 85 public abstract int getRecordLength(); 86 87 94 public abstract int ColType(String column) throws tinySQLException; 95 96 104 public abstract void UpdateCurrentRow(Vector c, Vector v) 105 throws tinySQLException; 106 107 112 public abstract void GoTop() throws tinySQLException; 113 114 119 public abstract boolean NextRecord() throws tinySQLException; 120 121 130 public abstract void InsertRow(Vector c, Vector v) throws tinySQLException; 131 132 139 public abstract String GetCol ( String column ) throws tinySQLException ; 140 141 149 public abstract void UpdateCol( String column, String value ) 150 throws tinySQLException; 151 152 157 public abstract void DeleteRow() throws tinySQLException; 158 159 164 public abstract boolean isDeleted() throws tinySQLException; 165 166 } 167 | Popular Tags |