com.metamatrix.query.processor.relational
Class DependentValueSource

java.lang.Object
  extended by com.metamatrix.query.processor.relational.DependentValueSource
All Implemented Interfaces:
ValueIteratorSource

public class DependentValueSource
extends java.lang.Object
implements ValueIteratorSource


Constructor Summary
DependentValueSource()
           
 
Method Summary
 IndexedTupleSource getTupleSource()
           
 TupleSourceID getTupleSourceID()
           
 ValueIterator getValueIterator(Expression valueExpression)
          Attempt to obtain a ValueIterator from this source.
 boolean isReady()
          Check whether the source is ready to provide valid iterators
 void reset()
           
 void setTupleSource(IndexedTupleSource tupleSource, TupleSourceID tupleSourceID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependentValueSource

public DependentValueSource()
Method Detail

setTupleSource

public void setTupleSource(IndexedTupleSource tupleSource,
                           TupleSourceID tupleSourceID)

getTupleSourceID

public TupleSourceID getTupleSourceID()

getTupleSource

public IndexedTupleSource getTupleSource()

isReady

public boolean isReady()
Description copied from interface: ValueIteratorSource
Check whether the source is ready to provide valid iterators

Specified by:
isReady in interface ValueIteratorSource
Returns:
True if iterator is ready

getValueIterator

public ValueIterator getValueIterator(Expression valueExpression)
Description copied from interface: ValueIteratorSource
Attempt to obtain a ValueIterator from this source. If the iterator is not ready yet, return null to indicate that.

Specified by:
getValueIterator in interface ValueIteratorSource
Parameters:
valueExpression - The expression we are retrieving an iterator for
Returns:
ValueIterator if ready, null otherwise
See Also:
ValueIteratorSource.getValueIterator(com.metamatrix.query.sql.symbol.Expression)

reset

public void reset()


Copyright © 2009. All Rights Reserved.