public interface BundleStreamSource
Modifier and Type | Interface and Description |
---|---|
static class |
BundleStreamSource.Event
Events
|
Modifier and Type | Method and Description |
---|---|
MultipleObjectsBundle |
asMultipleObjectsBundle()
Return (or collect) the stream as bundle.
|
boolean |
assignDBID(DBIDVar var)
Assign the current object ID to a
DBIDVar . |
Object |
data(int rnum)
Access a particular object and representation.
|
BundleMeta |
getMeta()
Get the current meta data.
|
boolean |
hasDBIDs()
Indicate whether the stream contains DBIDs.
|
BundleStreamSource.Event |
nextEvent()
Get the next event
|
BundleMeta getMeta()
Object data(int rnum)
rnum
- Representation numberboolean hasDBIDs()
true
if the stream contains DBIDs.boolean assignDBID(DBIDVar var)
DBIDVar
.var
- Variable to assign the object id tofalse
when no object id is availableBundleStreamSource.Event nextEvent()
MultipleObjectsBundle asMultipleObjectsBundle()
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.