org.teiid.query.sql.util
Interface ValueIteratorSource

All Known Implementing Classes:
DependentValueSource

public interface ValueIteratorSource

The ValueIteratorSource lets a language object that needs a ValueIterator hold this reference to the source of the ValueIterator as a reference until the ValueIterator can be ready.

Since:
5.0.1

Method Summary
 java.util.Set<java.lang.Object> getCachedSet(Expression valueExpression)
           
 ValueIterator getValueIterator(Expression valueExpression)
          Attempt to obtain a ValueIterator from this source.
 

Method Detail

getValueIterator

ValueIterator getValueIterator(Expression valueExpression)
                               throws TeiidComponentException
Attempt to obtain a ValueIterator from this source. If the iterator is not ready yet, return null to indicate that.

Parameters:
valueExpression - The expression we are retrieving an iterator for
Returns:
ValueIterator if ready, null otherwise
Throws:
TeiidComponentException
Since:
5.0.1

getCachedSet

java.util.Set<java.lang.Object> getCachedSet(Expression valueExpression)
                                             throws TeiidComponentException,
                                                    TeiidProcessingException
Throws:
TeiidComponentException
TeiidProcessingException


Copyright © 2010. All Rights Reserved.