com.metamatrix.query.sql.util
Interface ValueIteratorProvider

All Known Implementing Classes:
AbstractSetCriteria, DependentSetCriteria, ExistsCriteria, ScalarSubquery, SetCriteria, SubqueryCompareCriteria, SubquerySetCriteria

public interface ValueIteratorProvider

Language Object Implementors of this interface will provide a ValueIterator over one or potentially more values that they have.

Also, in some cases implementors may need to have their value iterators given to them by some external entity, so there is a setter method in this interface.


Method Summary
 ValueIterator getValueIterator()
          Get the ValueIterator from this ValueIterator provider
 void setValueIterator(ValueIterator valueIterator)
          Set the ValueIterator instance on this ValueIterator provider.
 

Method Detail

getValueIterator

ValueIterator getValueIterator()
Get the ValueIterator from this ValueIterator provider

Returns:
ValueIterator over the values of this instance

setValueIterator

void setValueIterator(ValueIterator valueIterator)
Set the ValueIterator instance on this ValueIterator provider. Note that the implementor may choose to not implement this method, and the method call would have no effect.

Parameters:
valueIterator - an instance of ValueIterator to be set on this ValueIterator provider (as in the case of subquery containers whose results are provided externally).


Copyright © 2009. All Rights Reserved.