public final class DataStoreUtil extends Object
DataStoreFactory.FACTORY
.Constructor and Description |
---|
DataStoreUtil() |
Modifier and Type | Method and Description |
---|---|
static WritableRecordStore |
makeRecordStorage(DBIDs ids,
int hints,
Class<?>... dataclasses)
Make a new record storage, to associate the given ids with an object of class dataclass.
|
static <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 static <T> WritableDataStore<T> makeStorage(DBIDs ids, int hints, Class<? super T> dataclass)
T
- stored data typeids
- DBIDs to store data forhints
- Hints for the storage managerdataclass
- class to storepublic static WritableRecordStore makeRecordStorage(DBIDs ids, int hints, Class<?>... dataclasses)
ids
- DBIDs to store data forhints
- Hints for the storage managerdataclasses
- classes to store