org.objectweb.medor.eval.lib

Class UnnestEvaluatedTC

Implemented Interfaces:
TupleCollection

public class UnnestEvaluatedTC
extends java.lang.Object
implements TupleCollection

This class represent a TupleCollection Result of the Unnest Operation. We don't store buffers in this operation because all Tuples of the sub TupleCollection will be in this TupleCollection, there no filtering.

Constructor Summary

UnnestEvaluatedTC(UnnestQueryNode unnestQueryTree, NodeEvaluator subNodeEvaluator, ParameterOperand[] parameters)

Method Summary

int
card()
void
close()
void
first()
TupleStructure
getMetaData()
It contains metadata of fields wich will be projected
int
getRow()
Tuple
getTuple()
Tuple
getTuple(int numTuple)
boolean
isEmpty()
boolean
isLast()
boolean
next()
boolean
row(int row)

Constructor Details

UnnestEvaluatedTC

public UnnestEvaluatedTC(UnnestQueryNode unnestQueryTree,
                         NodeEvaluator subNodeEvaluator,
                         ParameterOperand[] parameters)
            throws MedorException

Method Details

card

public int card()
            throws MedorException


close

public void close()
            throws MedorException
Specified by:
close in interface TupleCollection


first

public void first()
            throws MedorException
Specified by:
first in interface TupleCollection


getMetaData

public TupleStructure getMetaData()
            throws MedorException
It contains metadata of fields wich will be projected
Specified by:
getMetaData in interface TupleCollection


getRow

public int getRow()
            throws MedorException
Specified by:
getRow in interface TupleCollection


getTuple

public Tuple getTuple()
            throws MedorException
Specified by:
getTuple in interface TupleCollection


getTuple

public Tuple getTuple(int numTuple)
            throws MedorException
Specified by:
getTuple in interface TupleCollection


isEmpty

public boolean isEmpty()
            throws MedorException
Specified by:
isEmpty in interface TupleCollection


isLast

public boolean isLast()
            throws MedorException
Specified by:
isLast in interface TupleCollection


next

public boolean next()
            throws MedorException
Specified by:
next in interface TupleCollection


row

public boolean row(int row)
            throws MedorException
Specified by:
row in interface TupleCollection