public interface UpdatableDatabase extends Database
Modifier and Type | Method and Description |
---|---|
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, getDBIDs, getDistanceQuery, getIndexes, getKNNQuery, getRangeQuery, getRelation, getRelations, getRKNNQuery, getSimilarityQuery, initialize, removeDataStoreListener, removeIndex, size
getHierarchy, setHierarchy
getLongName, getShortName
DBIDs 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 possible