What are the contents of your String
s?
Same as understood by the ELKI parsers?
This will likely require some code modifications, because the parsers are designed around Javas InputStream
. I don't suggest wrapping a List<String>
into an InputStream
although that would probably be the least-effort approach.
Why don't you try extending AbstractDatabaseConnection
(or implementing DatabaseConnection
)? The database connection format, MultipleObjectsBundle
is not much more than List<Object>
and relation metadata; fairly easy to construct.
Alternatively, you could use your own code to parse the String
s into double[]
and then use ArrayAdapterDatabaseConnection
; which will wrap the double[]
as DoubleVector
for you and construct the bundles.