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.
|
Modifier and Type | Method and Description |
---|---|
MultipleObjectsBundle |
loadData()
Returns the initial data for a database.
|
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
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.