1 34 package smallsql.database; 35 36 import java.io.File ; 37 import java.io.RandomAccessFile ; 38 39 42 class Lobs extends Table { 43 44 Lobs(Table table) throws Exception { 45 super(table.database, table.name); 46 raFile = new RandomAccessFile ( getFile( database, name ), "rw" ); 47 } 48 49 50 File getFile(Database database, String name) throws Exception { 51 return new File ( Utils.createLobFileName( database, name ) ); 52 } 53 54 55 } 56 | Popular Tags |