org.teiid.query.processor.relational
Class DependentValueSource

java.lang.Object
  extended by org.teiid.query.processor.relational.DependentValueSource
All Implemented Interfaces:
ValueIteratorSource

public class DependentValueSource
extends java.lang.Object
implements ValueIteratorSource


Constructor Summary
DependentValueSource(TupleBuffer tupleSourceID)
           
 
Method Summary
 java.util.Set<java.lang.Object> getCachedSet(Expression valueExpression)
           
 TupleBuffer getTupleBuffer()
           
 ValueIterator getValueIterator(Expression valueExpression)
          Attempt to obtain a ValueIterator from this source.
 boolean isDistinct()
           
 boolean isUnused()
           
 void setDistinct(boolean distinct)
           
 void setUnused(boolean unused)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependentValueSource

public DependentValueSource(TupleBuffer tupleSourceID)
Method Detail

getTupleBuffer

public TupleBuffer getTupleBuffer()

getValueIterator

public ValueIterator getValueIterator(Expression valueExpression)
                               throws TeiidComponentException
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
Throws:
TeiidComponentException
See Also:
ValueIteratorSource.getValueIterator(org.teiid.query.sql.symbol.Expression)

getCachedSet

public java.util.Set<java.lang.Object> getCachedSet(Expression valueExpression)
                                             throws TeiidComponentException,
                                                    TeiidProcessingException
Specified by:
getCachedSet in interface ValueIteratorSource
Throws:
TeiidComponentException
TeiidProcessingException

isUnused

public boolean isUnused()
Specified by:
isUnused in interface ValueIteratorSource

setUnused

public void setUnused(boolean unused)
Specified by:
setUnused in interface ValueIteratorSource

isDistinct

public boolean isDistinct()

setDistinct

public void setDistinct(boolean distinct)


Copyright © 2011. All Rights Reserved.