Hi,everyone:
Can I define a record like:{recNo,deleted,name,location,size,smoking,rate,date,owner}?
Some reasons:
1.I can cache all db file's records information(include recNo and deleted) into memory for performance
2.Methods using recNo(update or deleted etc.) or deleted(e.g:create a record reusing a deleted entry) will be easy implemented and have good efficiency
What I am worried about is:
The following methods:
public void update(int recNo,
String[] data, long lockCookie)
public String[] read(int recNo)
public int[] find(String[] criteria);
public int create(String[] data)
which have relation with record(String array) will have to use my record definition ,is it permitable?
I really appreciate any help!