
public final class DataStoreUtil extends Object
DataStoreFactory.FACTORY.| Constructor and Description | 
|---|
| DataStoreUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static WritableDBIDDataStore | makeDBIDStorage(DBIDs ids,
               int hints)Make a new storage, to associate the given ids with an object of class
 dataclass. | 
| static WritableDoubleDataStore | makeDoubleStorage(DBIDs ids,
                 int hints)Make a new storage, to associate the given ids with an object of class
 dataclass. | 
| static WritableDoubleDataStore | makeDoubleStorage(DBIDs ids,
                 int hints,
                 double def)Make a new storage, to associate the given ids with an object of class
 dataclass. | 
| static WritableIntegerDataStore | makeIntegerStorage(DBIDs ids,
                  int hints)Make a new storage, to associate the given ids with an object of class
 dataclass. | 
| static WritableIntegerDataStore | makeIntegerStorage(DBIDs ids,
                  int hints,
                  int def)Make a new storage, to associate the given ids with an object of class
 dataclass. | 
| 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 WritableDBIDDataStore makeDBIDStorage(DBIDs ids, int hints)
ids - DBIDs to store data forhints - Hints for the storage managerpublic static WritableDoubleDataStore makeDoubleStorage(DBIDs ids, int hints)
ids - DBIDs to store data forhints - Hints for the storage managerpublic static WritableDoubleDataStore makeDoubleStorage(DBIDs ids, int hints, double def)
ids - DBIDs to store data forhints - Hints for the storage managerdef - Default valuepublic static WritableIntegerDataStore makeIntegerStorage(DBIDs ids, int hints)
ids - DBIDs to store data forhints - Hints for the storage managerpublic static WritableIntegerDataStore makeIntegerStorage(DBIDs ids, int hints, int def)
ids - DBIDs to store data forhints - Hints for the storage managerdef - Default valuepublic static WritableRecordStore makeRecordStorage(DBIDs ids, int hints, Class<?>... dataclasses)
ids - DBIDs to store data forhints - Hints for the storage managerdataclasses - classes to store