Package com.luciad.format.database
Interface ILcdDatabaseEncoder
- All Known Subinterfaces:
ILcdDatabaseEncoder2
public interface ILcdDatabaseEncoder
This interface specifies methods to perform uncached updates on a database or
a set of data files, based on query keys. It allows for a generic caching
mechanism on top of any class that implements the interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes all objects from the spatial table.voiddeleteObjects(Enumeration aEnumeration) Deletes the given objects from the spatial table.voidinsertObjects(Enumeration aEnumeration) Inserts the given objects into the spatial table.voidsetDatabaseModelDescriptor(ILcdDatabaseModelDescriptor aDatabaseModelDescriptor) Sets the database model descriptor to be used by this decoder.
-
Method Details
-
setDatabaseModelDescriptor
Sets the database model descriptor to be used by this decoder.- Parameters:
aDatabaseModelDescriptor- the database model descriptor.
-
insertObjects
Inserts the given objects into the spatial table.- Parameters:
aEnumeration- anEnumerationof the objects to be inserted.- Throws:
IOException
-
deleteObjects
Deletes the given objects from the spatial table.- Parameters:
aEnumeration- anEnumerationof objects to be deleted.- Throws:
IOException
-
deleteAllObjects
Deletes all objects from the spatial table.- Throws:
IOException
-