com.metamatrix.query.tempdata
Class TempTableStoreImpl

java.lang.Object
  extended by com.metamatrix.query.tempdata.TempTableStoreImpl
All Implemented Interfaces:
TempTableStore

public class TempTableStoreImpl
extends java.lang.Object
implements TempTableStore

Since:
5.5

Constructor Summary
TempTableStoreImpl(BufferManager buffer, java.lang.String sessionID, TempTableStore parentTempTableStore)
           
 
Method Summary
 void addTempTable(java.lang.String tempTableName, java.util.List columns, boolean removeExistingTable)
           
 java.util.Set getAllTempTables()
           
static java.util.List<java.util.List<java.lang.Object>> getBulkRows(Insert insert)
           
 TempMetadataStore getMetadataStore()
           
 TupleSourceID getTupleSourceID(java.lang.String tempTableName)
           
 boolean hasTempTable(Command command)
           
 TupleSource registerRequest(Command command)
           
 void removeTempTable(Command command)
           
 void removeTempTableByName(java.lang.String tempTableName)
           
 void removeTempTables()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempTableStoreImpl

public TempTableStoreImpl(BufferManager buffer,
                          java.lang.String sessionID,
                          TempTableStore parentTempTableStore)
Method Detail

addTempTable

public void addTempTable(java.lang.String tempTableName,
                         java.util.List columns,
                         boolean removeExistingTable)
                  throws MetaMatrixComponentException,
                         QueryProcessingException
Throws:
MetaMatrixComponentException
QueryProcessingException

removeTempTable

public void removeTempTable(Command command)
                     throws MetaMatrixComponentException
Specified by:
removeTempTable in interface TempTableStore
Throws:
MetaMatrixComponentException

removeTempTableByName

public void removeTempTableByName(java.lang.String tempTableName)
                           throws MetaMatrixComponentException
Specified by:
removeTempTableByName in interface TempTableStore
Throws:
MetaMatrixComponentException

getMetadataStore

public TempMetadataStore getMetadataStore()
Specified by:
getMetadataStore in interface TempTableStore

registerRequest

public TupleSource registerRequest(Command command)
                            throws MetaMatrixComponentException,
                                   ExpressionEvaluationException,
                                   QueryProcessingException
Specified by:
registerRequest in interface TempTableStore
Throws:
MetaMatrixComponentException
ExpressionEvaluationException
QueryProcessingException

removeTempTables

public void removeTempTables()
                      throws MetaMatrixComponentException
Specified by:
removeTempTables in interface TempTableStore
Throws:
MetaMatrixComponentException

getBulkRows

public static java.util.List<java.util.List<java.lang.Object>> getBulkRows(Insert insert)

hasTempTable

public boolean hasTempTable(Command command)
Specified by:
hasTempTable in interface TempTableStore

getAllTempTables

public java.util.Set getAllTempTables()
Specified by:
getAllTempTables in interface TempTableStore

getTupleSourceID

public TupleSourceID getTupleSourceID(java.lang.String tempTableName)
Specified by:
getTupleSourceID in interface TempTableStore


Copyright © 2009. All Rights Reserved.