public final class DataStoreUtil
extends java.lang.Object
DataStoreFactory.FACTORY
.Modifier and Type | Class and Description |
---|---|
static class |
DataStoreUtil.AscendingByDoubleDataStore
Sort objects by a double relation
|
static class |
DataStoreUtil.AscendingByDoubleDataStoreAndId
Sort objects by a double relation
|
static class |
DataStoreUtil.AscendingByIntegerDataStore
Sort objects by a integer relation
|
static class |
DataStoreUtil.DescendingByDoubleDataStore
Sort objects by a double relation
|
static class |
DataStoreUtil.DescendingByDoubleDataStoreAndId
Sort objects by a double relation
|
static class |
DataStoreUtil.DescendingByIntegerDataStore
Sort objects by a integer relation
|
Modifier | Constructor and Description |
---|---|
private |
DataStoreUtil()
Private constructor.
|
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,
java.lang.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,
java.lang.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, java.lang.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, java.lang.Class<?>... dataclasses)
ids
- DBIDs to store data forhints
- Hints for the storage managerdataclasses
- classes to storeCopyright © 2019 ELKI Development Team. License information.