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
 ValueIterator getValueIterator(Expression valueExpression)
          Attempt to obtain a ValueIterator from this source.
 boolean isReady()
          Check whether the source is ready to provide valid iterators
 

Method Detail

getValueIterator

ValueIterator getValueIterator(Expression valueExpression)
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
Since:
5.0.1

isReady

boolean isReady()
Check whether the source is ready to provide valid iterators

Returns:
True if iterator is ready


Copyright © 2009. All Rights Reserved.