
public interface UpdatableDatabase extends Database
| Modifier and Type | Method and Description |
|---|---|
SingleObjectBundle |
delete(DBIDRef id)
Removes and returns the specified objects with the given ids from the
database.
|
ObjectBundle |
delete(DBIDs ids)
Removes and returns the specified objects with the given ids from the
database.
|
DBIDs |
insert(ObjectBundle objpackages)
Inserts the given object(s) and their associations into the database.
|
accumulateDataStoreEvents, addDataStoreListener, addIndex, flushDataStoreEvents, getBundle, getDistanceQuery, getIndexes, getKNNQuery, getRangeQuery, getRelation, getRelations, getRKNNQuery, getSimilarityQuery, initialize, removeDataStoreListener, removeIndexgetHierarchy, setHierarchygetLongName, getShortNameDBIDs insert(ObjectBundle objpackages) throws UnableToComplyException
objpackages - the objects to be insertedUnableToComplyException - if insertion is not possibleObjectBundle delete(DBIDs ids)
ids - the ids of the object to be removed from the databaseUnableToComplyException - if deletion is not possibleSingleObjectBundle delete(DBIDRef id)
id - the id of the object to be removed from the databaseUnableToComplyException - if deletion is not possible