|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.ejb.query.TupleAssembler
The TupleAssembler class assembles tuples from the data retrieved by the Query Manager. Tuples are used by the match engine.
Method Summary | |
java.lang.Object |
createObjectAttributes(java.lang.Object rootObject,
java.lang.Object parent,
java.lang.String objectName,
AttributesData attrsData)
Creates an object containing the attributes for each object (other than the root object) that is returned from the Query Manager iterator (QMIterator class) and that has a new identity. |
java.lang.Object |
createRoot(java.lang.String objectName,
AttributesData attrsData)
Creates the root object for each object returned from the Query Manager iterator (QMIterator class). |
void |
init()
Initializes the resources to be used by TupleAssembler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object createObjectAttributes(java.lang.Object rootObject, java.lang.Object parent, java.lang.String objectName, AttributesData attrsData) throws VOAException
createObjectAttributes
in interface ResultObjectAssembler
rootObject
- The name of the root object.parent
- The name of the parent object (this may be the same as the root
object).objectName
- The name of the object, as defined in the Object Definition
configuration file in the eView Project.attrsData
- - The attribute data associated with the object.
Object
- An object containing the attributes.
VOAException
- Thrown if an error occurs while creating the object
attributes.public java.lang.Object createRoot(java.lang.String objectName, AttributesData attrsData) throws VOAException
createRoot
in interface ResultObjectAssembler
objectName
- The name of the root object.attrsData
- The attribute data associated with the root object.
Object
- The root object of the fields in the SQL statement.
VOAException
- Thrown if an error occurs while creating the root object.public void init()
void
- None.
init
in interface ResultObjectAssembler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.