
public class MemoryDataStoreFactory extends Object implements DataStoreFactory
FACTORY, HINT_DB, HINT_HOT, HINT_SORTED, HINT_STATIC, HINT_TEMP| Constructor and Description |
|---|
MemoryDataStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
WritableDBIDDataStore |
makeDBIDStorage(DBIDs ids,
int hints)
Make a new storage, to associate the given ids with an object of class
dataclass.
|
WritableDoubleDistanceDataStore |
makeDoubleDistanceStorage(DBIDs ids,
int hints)
Make a data storage for double distances.
|
WritableDoubleDataStore |
makeDoubleStorage(DBIDs ids,
int hints)
Make a new storage, to associate the given ids with an object of class
dataclass.
|
WritableDoubleDataStore |
makeDoubleStorage(DBIDs ids,
int hints,
double def)
Make a new storage, to associate the given ids with an object of class
dataclass.
|
WritableIntegerDataStore |
makeIntegerStorage(DBIDs ids,
int hints)
Make a new storage, to associate the given ids with an object of class
dataclass.
|
WritableIntegerDataStore |
makeIntegerStorage(DBIDs ids,
int hints,
int def)
Make a new storage, to associate the given ids with an object of class
dataclass.
|
WritableRecordStore |
makeRecordStorage(DBIDs ids,
int hints,
Class<?>... dataclasses)
Make a new record storage, to associate the given ids with an object of
class dataclass.
|
<T> WritableDataStore<T> |
makeStorage(DBIDs ids,
int hints,
Class<? super T> dataclass)
Make a new storage, to associate the given ids with an object of class
dataclass.
|
public <T> WritableDataStore<T> makeStorage(DBIDs ids, int hints, Class<? super T> dataclass)
DataStoreFactorymakeStorage in interface DataStoreFactoryT - stored data typeids - DBIDs to store data forhints - Hints for the storage managerdataclass - class to storepublic WritableDBIDDataStore makeDBIDStorage(DBIDs ids, int hints)
DataStoreFactorymakeDBIDStorage in interface DataStoreFactoryids - DBIDs to store data forhints - Hints for the storage managerpublic WritableDoubleDistanceDataStore makeDoubleDistanceStorage(DBIDs ids, int hints)
ids - IDs to store forhints - Storage hintspublic WritableDoubleDataStore makeDoubleStorage(DBIDs ids, int hints)
DataStoreFactorymakeDoubleStorage in interface DataStoreFactoryids - DBIDs to store data forhints - Hints for the storage managerpublic WritableDoubleDataStore makeDoubleStorage(DBIDs ids, int hints, double def)
DataStoreFactorymakeDoubleStorage in interface DataStoreFactoryids - DBIDs to store data forhints - Hints for the storage managerdef - Default valuepublic WritableIntegerDataStore makeIntegerStorage(DBIDs ids, int hints)
DataStoreFactorymakeIntegerStorage in interface DataStoreFactoryids - DBIDs to store data forhints - Hints for the storage managerpublic WritableIntegerDataStore makeIntegerStorage(DBIDs ids, int hints, int def)
DataStoreFactorymakeIntegerStorage in interface DataStoreFactoryids - DBIDs to store data forhints - Hints for the storage managerdef - Default valuepublic WritableRecordStore makeRecordStorage(DBIDs ids, int hints, Class<?>... dataclasses)
DataStoreFactorymakeRecordStorage in interface DataStoreFactoryids - DBIDs to store data forhints - Hints for the storage managerdataclasses - classes to store