|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.datasource.bundle.SingleObjectBundle
public class SingleObjectBundle

This class represents a "packaged" object, which is a transfer container for objects e.g. from parsers to a database. It contains the object with multiple representations outside of any index structure.
| Field Summary | |
|---|---|
private List<Object> |
contents
Storing the real contents. |
private BundleMeta |
meta
Store the meta data. |
| Constructor Summary | |
|---|---|
SingleObjectBundle()
Constructor. |
|
SingleObjectBundle(BundleMeta meta,
List<Object> contents)
Constructor. |
|
| Method Summary | |
|---|---|
void |
append(SimpleTypeInformation<?> meta,
Object data)
Append a single representation to the object. |
Object |
data(int rnum)
Get the value of the ith component. |
Object |
data(int onum,
int rnum)
Access a particular object and representation. |
int |
dataLength()
Get the number of objects contained. |
BundleMeta |
meta()
Access the meta data. |
SimpleTypeInformation<?> |
meta(int i)
Access the meta data. |
int |
metaLength()
Get the metadata length. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BundleMeta meta
private List<Object> contents
| Constructor Detail |
|---|
public SingleObjectBundle()
public SingleObjectBundle(BundleMeta meta,
List<Object> contents)
meta - Metadatacontents - Object values| Method Detail |
|---|
public BundleMeta meta()
ObjectBundle
meta in interface ObjectBundlepublic SimpleTypeInformation<?> meta(int i)
ObjectBundle
meta in interface ObjectBundlei - component
public int metaLength()
ObjectBundle
metaLength in interface ObjectBundlepublic Object data(int rnum)
rnum - representation number
public int dataLength()
ObjectBundle
dataLength in interface ObjectBundle
public Object data(int onum,
int rnum)
ObjectBundle
data in interface ObjectBundleonum - Object numberrnum - Representation number
public void append(SimpleTypeInformation<?> meta,
Object data)
meta - Meta for the representationdata - Data to append
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||