org.teiid.query.tempdata
Class TempTable
java.lang.Object
org.teiid.query.tempdata.TempTable
- All Implemented Interfaces:
- Cloneable
public class TempTable
- extends Object
- implements Cloneable
A Teiid Temp Table
TODO: in this implementation blocked exceptions will not happen
allowing for subquery evaluation though would cause pauses
clone
public TempTable clone()
- Overrides:
clone
in class Object
getActive
public AtomicInteger getActive()
createTupleSource
public TupleSource createTupleSource(List<? extends SingleElementSymbol> projectedCols,
Criteria condition,
OrderBy orderBy)
throws TeiidComponentException,
TeiidProcessingException
- Throws:
TeiidComponentException
TeiidProcessingException
getRowCount
public int getRowCount()
truncate
public int truncate(boolean force)
remove
public void remove()
getColumns
public List<ElementSymbol> getColumns()
insert
public TupleSource insert(TupleSource tuples,
List<ElementSymbol> variables,
boolean canUndo)
throws TeiidComponentException,
ExpressionEvaluationException,
TeiidProcessingException
- Throws:
TeiidComponentException
ExpressionEvaluationException
TeiidProcessingException
update
public TupleSource update(Criteria crit,
SetClauseList update)
throws TeiidComponentException,
ExpressionEvaluationException,
TeiidProcessingException
- Throws:
TeiidComponentException
ExpressionEvaluationException
TeiidProcessingException
delete
public TupleSource delete(Criteria crit)
throws TeiidComponentException,
ExpressionEvaluationException,
TeiidProcessingException
- Throws:
TeiidComponentException
ExpressionEvaluationException
TeiidProcessingException
isUpdatable
public boolean isUpdatable()
toString
public String toString()
- Overrides:
toString
in class Object
getMetadataId
public TempMetadataID getMetadataId()
getId
public Long getId()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2011. All Rights Reserved.