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 |
---|---|
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)
DataStoreFactory
makeStorage
in interface DataStoreFactory
T
- stored data typeids
- DBIDs to store data forhints
- Hints for the storage managerdataclass
- class to storepublic WritableDoubleDataStore makeDoubleStorage(DBIDs ids, int hints)
DataStoreFactory
makeDoubleStorage
in interface DataStoreFactory
ids
- DBIDs to store data forhints
- Hints for the storage managerpublic WritableDoubleDataStore makeDoubleStorage(DBIDs ids, int hints, double def)
DataStoreFactory
makeDoubleStorage
in interface DataStoreFactory
ids
- DBIDs to store data forhints
- Hints for the storage managerdef
- Default valuepublic WritableIntegerDataStore makeIntegerStorage(DBIDs ids, int hints)
DataStoreFactory
makeIntegerStorage
in interface DataStoreFactory
ids
- DBIDs to store data forhints
- Hints for the storage managerpublic WritableIntegerDataStore makeIntegerStorage(DBIDs ids, int hints, int def)
DataStoreFactory
makeIntegerStorage
in interface DataStoreFactory
ids
- DBIDs to store data forhints
- Hints for the storage managerdef
- Default valuepublic WritableRecordStore makeRecordStorage(DBIDs ids, int hints, Class<?>... dataclasses)
DataStoreFactory
makeRecordStorage
in interface DataStoreFactory
ids
- DBIDs to store data forhints
- Hints for the storage managerdataclasses
- classes to store