|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.database.datastore.memory.MapRecordStore.StorageAccessor<T>
T - Object data type to accessprotected class MapRecordStore.StorageAccessor<T>

Access a single record in the given data.
| Field Summary | |
|---|---|
private int |
index
Representation index. |
| Constructor Summary | |
|---|---|
protected |
MapRecordStore.StorageAccessor(int index)
Constructor. |
| Method Summary | |
|---|---|
void |
delete(DBID id)
Delete the contents for a particular ID and notifies the registered listeners. |
void |
destroy()
Deallocate the storage, freeing the memory and notifies the registered listeners. |
T |
get(DBID id)
Retrieves an object from the storage. |
String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus. |
String |
getShortName()
A short name for the result, useful for file names. |
T |
put(DBID id,
T value)
Associates the specified value with the specified id in this storage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final int index
| Constructor Detail |
|---|
protected MapRecordStore.StorageAccessor(int index)
index - In-record index| Method Detail |
|---|
public T get(DBID id)
DataStore
get in interface DataStore<T>id - Database ID.
null
public T put(DBID id,
T value)
WritableDataStore
put in interface WritableDataStore<T>id - Database ID.value - Value to store.
public void destroy()
WritableDataStore
destroy in interface WritableDataStore<T>public void delete(DBID id)
WritableDataStore
delete in interface WritableDataStore<T>id - Database ID.public String getLongName()
Result
getLongName in interface Resultpublic String getShortName()
Result
getShortName in interface Result
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||