org.teiid.query.tempdata
Class TempTable

java.lang.Object
  extended by 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


Method Summary
 TempTable clone()
           
 TupleSource createTupleSource(List<? extends SingleElementSymbol> projectedCols, Criteria condition, OrderBy orderBy)
           
 TupleSource delete(Criteria crit)
           
 boolean equals(Object obj)
           
 AtomicInteger getActive()
           
 List<ElementSymbol> getColumns()
           
 Long getId()
           
 TempMetadataID getMetadataId()
           
 int getRowCount()
           
 int hashCode()
           
 TupleSource insert(TupleSource tuples, List<ElementSymbol> variables, boolean canUndo)
           
 boolean isUpdatable()
           
 void remove()
           
 String toString()
           
 int truncate(boolean force)
           
 TupleSource update(Criteria crit, SetClauseList update)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.