public class ArrayAdapterDatabaseConnection extends Object implements DatabaseConnection
double[rows][cols]
) into an ELKI
database.
Note: this class is not parameterizable, but can only be used from Java.Modifier and Type | Field and Description |
---|---|
(package private) double[][] |
data
The actual data.
|
(package private) String[] |
labels
Object labels.
|
(package private) Integer |
startid
Starting ID for fixed object ids.
|
Constructor and Description |
---|
ArrayAdapterDatabaseConnection(double[][] data)
Constructor.
|
ArrayAdapterDatabaseConnection(double[][] data,
String[] labels)
Constructor.
|
ArrayAdapterDatabaseConnection(double[][] data,
String[] labels,
Integer startid)
Constructor.
|
double[][] data
String[] labels
Integer startid
public ArrayAdapterDatabaseConnection(double[][] data)
data
- Existing data matrixpublic ArrayAdapterDatabaseConnection(double[][] data, String[] labels)
data
- Existing data matrixlabels
- Object labelspublic MultipleObjectsBundle loadData()
DatabaseConnection
loadData
in interface DatabaseConnection