Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Object>
getCachedSet(Expression valueExpression)
ValueIterator
getValueIterator(Expression valueExpression)
Attempt to obtain a ValueIterator from this source.boolean
isUnused()
void
setUnused(boolean unused)
-
-
-
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
Set<Object> getCachedSet(Expression valueExpression) throws TeiidComponentException, TeiidProcessingException
-
setUnused
void setUnused(boolean unused)
-
isUnused
boolean isUnused()
-
-