org.trippi.impl.kowari
Class RowGroup

java.lang.Object
  extended by org.trippi.impl.kowari.RowGroup

public class RowGroup
extends java.lang.Object

An iterator-like structure for turning one row of any Answer into one or more rows, depending on the existence of an inner-Answer.


Constructor Summary
RowGroup(org.kowari.query.Answer answer)
          The given answer must be posititioned on a row.
 
Method Summary
 org.kowari.query.Variable[] getVariables()
          Return the variables for this rowgroup.
 java.lang.Object[] nextValues()
          Return an object array or null if exhausted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowGroup

public RowGroup(org.kowari.query.Answer answer)
         throws org.kowari.query.TuplesException
The given answer must be posititioned on a row.

Throws:
org.kowari.query.TuplesException
Method Detail

getVariables

public org.kowari.query.Variable[] getVariables()
                                         throws org.kowari.query.TuplesException
Return the variables for this rowgroup.

Throws:
org.kowari.query.TuplesException

nextValues

public java.lang.Object[] nextValues()
                              throws org.kowari.query.TuplesException
Return an object array or null if exhausted.

Throws:
org.kowari.query.TuplesException