com.metamatrix.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.HashSet<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 MetaMatrixComponentException
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:
MetaMatrixComponentException
TupleSourceNotFoundException
Since:
5.0.1

getCachedSet

java.util.HashSet<java.lang.Object> getCachedSet(Expression valueExpression)
                                                 throws MetaMatrixComponentException,
                                                        MetaMatrixProcessingException
Throws:
MetaMatrixComponentException
MetaMatrixProcessingException


Copyright © 2009. All Rights Reserved.