Package elki.database.datastore
Interface WritableRecordStore
-
- All Superinterfaces:
RecordStore
- All Known Implementing Classes:
ArrayRecordStore
,MapIntegerDBIDRecordStore
,MapRecordStore
public interface WritableRecordStore extends RecordStore
Represents a storage which stores multiple values per object in a record fashion.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> WritableDataStore<T>
getStorage(int col, java.lang.Class<? super T> datatype)
Get aWritableDataStore
instance for a particular record column.boolean
remove(DBIDRef id)
Remove an object from the store, all columns.
-
-
-
Method Detail
-
getStorage
<T> WritableDataStore<T> getStorage(int col, java.lang.Class<? super T> datatype)
Get aWritableDataStore
instance for a particular record column.- Specified by:
getStorage
in interfaceRecordStore
- Type Parameters:
T
- Data type- Parameters:
col
- Column numberdatatype
- data class- Returns:
- writable storage
-
remove
boolean remove(DBIDRef id)
Remove an object from the store, all columns.- Parameters:
id
- object ID to remove- Returns:
- success code
-
-