Class DependentValueSource
- java.lang.Object
-
- org.teiid.query.processor.relational.DependentValueSource
-
- All Implemented Interfaces:
ValueIteratorSource
public class DependentValueSource extends Object implements ValueIteratorSource
-
-
Constructor Summary
Constructors Constructor Description DependentValueSource(TupleBuffer tb)
DependentValueSource(TupleBuffer tb, List<? extends Expression> schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Object>
getCachedSet(Expression valueExpression)
List<? extends Expression>
getSchema()
TupleBuffer
getTupleBuffer()
org.teiid.query.processor.relational.TupleSourceValueIterator
getValueIterator(Expression valueExpression)
Attempt to obtain a ValueIterator from this source.boolean
isDistinct()
boolean
isUnused()
void
setDistinct(boolean distinct)
void
setUnused(boolean unused)
-
-
-
Constructor Detail
-
DependentValueSource
public DependentValueSource(TupleBuffer tb)
-
DependentValueSource
public DependentValueSource(TupleBuffer tb, List<? extends Expression> schema)
-
-
Method Detail
-
getTupleBuffer
public TupleBuffer getTupleBuffer()
-
getValueIterator
public org.teiid.query.processor.relational.TupleSourceValueIterator getValueIterator(Expression valueExpression) throws TeiidComponentException
Description copied from interface:ValueIteratorSource
Attempt to obtain a ValueIterator from this source. If the iterator is not ready yet, return null to indicate that.- Specified by:
getValueIterator
in interfaceValueIteratorSource
- Parameters:
valueExpression
- The expression we are retrieving an iterator for- Returns:
- ValueIterator if ready, null otherwise
- Throws:
TeiidComponentException
- See Also:
ValueIteratorSource.getValueIterator(org.teiid.query.sql.symbol.Expression)
-
getCachedSet
public Set<Object> getCachedSet(Expression valueExpression) throws TeiidComponentException, TeiidProcessingException
- Specified by:
getCachedSet
in interfaceValueIteratorSource
- Throws:
TeiidComponentException
TeiidProcessingException
-
isUnused
public boolean isUnused()
- Specified by:
isUnused
in interfaceValueIteratorSource
-
setUnused
public void setUnused(boolean unused)
- Specified by:
setUnused
in interfaceValueIteratorSource
-
isDistinct
public boolean isDistinct()
-
setDistinct
public void setDistinct(boolean distinct)
-
getSchema
public List<? extends Expression> getSchema()
-
-