|
dbXML API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.dbxml.server.SimpleConfigurable
|
+--org.dbxml.core.filer.FSFiler
FSFiler allows you to use existing file systems withing dbXML.
| Constructor Summary | |
FSFiler()
|
|
| Method Summary | |
boolean |
close()
close closes the DBObject |
boolean |
create()
create creates a new DBObject and any associated resources for the new DBObject, such as disk files, etc. |
boolean |
deleteRecord(Key key)
deleteRecord removes a Record from the Filer based on the specified Key. |
boolean |
drop()
drop instructs the DBObjectimplementation to remove itself from existence. |
boolean |
exists()
exists returns whether or not a physical representation of this DBObject actually exists. |
java.lang.String |
getName()
|
long |
getRecordCount()
getRecordCount returns the number of Records in the Filer. |
RecordSet |
getRecordSet()
getRecordSet returns a RecordSet object for the current Filer. |
boolean |
isOpened()
isOpened returns whether or not the DBObject is opened for business. |
boolean |
open()
open opens the DBObject |
Record |
readRecord(Key key)
readRecord returns a Record from the Filer based on the specified Key. |
void |
setCollection(Collection collection)
setCollection tells the Filer who its parent is. |
void |
setConfig(org.dbxml.server.Configuration config)
|
boolean |
writeRecord(Key key,
Value value)
writeRecord writes a Value to the Filer based on the specified Key. |
| Methods inherited from class org.dbxml.server.SimpleConfigurable |
getConfig |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.dbxml.server.Configurable |
getConfig |
| Constructor Detail |
public FSFiler()
| Method Detail |
public java.lang.String getName()
getName in interface org.dbxml.server.Namedpublic void setCollection(Collection collection)
FilersetCollection in interface Filerorg.dbxml.core.filer.Filercollection - The owner Collection
public void setConfig(org.dbxml.server.Configuration config)
throws org.dbxml.server.dbXMLException
setConfig in interface org.dbxml.server.ConfigurablesetConfig in class org.dbxml.server.SimpleConfigurablepublic boolean close()
DBObjectclose in interface DBObjectorg.dbxml.core.DBObjectpublic boolean open()
DBObjectopen in interface DBObjectorg.dbxml.core.DBObjectpublic boolean drop()
DBObjectdrop in interface DBObjectorg.dbxml.core.DBObjectpublic boolean isOpened()
DBObjectisOpened in interface DBObjectorg.dbxml.core.DBObjectpublic boolean exists()
DBObjectexists in interface DBObjectorg.dbxml.core.DBObjectpublic boolean create()
DBObjectcreate in interface DBObjectorg.dbxml.core.DBObject
public Record readRecord(Key key)
throws DBException
FilerreadRecord in interface Filerorg.dbxml.core.filer.Filerkey - The Record's Key
public boolean writeRecord(Key key,
Value value)
throws DBException
FilerwriteRecord in interface Filerorg.dbxml.core.filer.Filerkey - The Record's Keyvalue - The Record's Value
public boolean deleteRecord(Key key)
throws DBException
deleteRecord in interface Filerkey - The Record's Key
public long getRecordCount()
throws DBException
FilergetRecordCount in interface Filerorg.dbxml.core.filer.Filer
public RecordSet getRecordSet()
throws DBException
FilergetRecordSet in interface Filerorg.dbxml.core.filer.Filer
|
dbXML API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||