com.metamatrix.query.processor.proc
Class UpdateCountTupleSource

java.lang.Object
  extended by com.metamatrix.query.processor.proc.UpdateCountTupleSource
All Implemented Interfaces:
TupleSource

public class UpdateCountTupleSource
extends java.lang.Object
implements TupleSource


Constructor Summary
UpdateCountTupleSource(int count)
           
UpdateCountTupleSource(java.util.List tuple)
           
 
Method Summary
 void closeSource()
          Closes the Tuple Source.
 java.util.List getSchema()
          Returns the List of ElementSymbol describing the Tuple Source
 java.util.List nextTuple()
          Returns the next tuple
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCountTupleSource

public UpdateCountTupleSource(java.util.List tuple)

UpdateCountTupleSource

public UpdateCountTupleSource(int count)
Method Detail

getSchema

public java.util.List getSchema()
Description copied from interface: TupleSource
Returns the List of ElementSymbol describing the Tuple Source

Specified by:
getSchema in interface TupleSource
Returns:
the List of elements describing the Tuple Source

nextTuple

public java.util.List nextTuple()
                         throws MetaMatrixComponentException
Description copied from interface: TupleSource
Returns the next tuple

Specified by:
nextTuple in interface TupleSource
Returns:
the next tuple (a List object), or null if there are no more tuples.
Throws:
MetaMatrixComponentException - indicating a non-business exception such as a communication exception, or other such nondeterministic exception

closeSource

public void closeSource()
                 throws MetaMatrixComponentException
Description copied from interface: TupleSource
Closes the Tuple Source.

Specified by:
closeSource in interface TupleSource
Throws:
MetaMatrixComponentException - indicating a non-business exception such as a communication exception, or other such nondeterministic exception


Copyright © 2009. All Rights Reserved.