|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.buffer.impl.TupleSourceInfo
public class TupleSourceInfo
Describe a TupleSource and all important information about it.
| Constructor Summary | |
|---|---|
TupleSourceInfo(TupleSourceID tsID,
java.util.List schema,
java.lang.String[] types,
com.metamatrix.common.buffer.impl.TupleGroupInfo groupInfo,
BufferManager.TupleSourceType type)
Construct a TupleSourceInfo given information about it. |
|
| Method Summary | |
|---|---|
void |
addBatch(com.metamatrix.common.buffer.impl.ManagedBatch batch)
|
void |
addLobReference(Streamable<java.lang.Object> lob)
|
com.metamatrix.common.buffer.impl.ManagedBatch |
getBatch(int beginRow)
Returns the batch containing the begin row or null if it doesn't exist |
java.util.Iterator<com.metamatrix.common.buffer.impl.ManagedBatch> |
getBatchIterator()
|
com.metamatrix.common.buffer.impl.TupleGroupInfo |
getGroupInfo()
Get group this tuple source is in. |
Streamable<?> |
getLobReference(java.lang.String id)
|
int |
getRowCount()
Get current row count |
static java.lang.String |
getStaleLobTupleSource()
|
BufferManager.TupleSourceStatus |
getStatus()
Get status of this tuple source, as defined in BufferManager constants |
java.util.List |
getTupleSchema()
Get the tuple schema describing a tuple source |
TupleSourceID |
getTupleSourceID()
Get the tuple source identifier |
BufferManager.TupleSourceType |
getType()
Get type of this tuple source |
java.lang.String[] |
getTypes()
|
boolean |
isRemoved()
Check whether this tuple source has been removed. |
boolean |
lobsInSource()
|
void |
removeBatch(int beginRow)
|
void |
setContainingLobReference(Streamable<?> s)
|
void |
setRemoved()
Set a flag that this tuple source has been removed |
void |
setRowCount(int rows)
Set the current row count |
void |
setStatus(BufferManager.TupleSourceStatus status)
Set status of this tuple source |
java.lang.String |
toString()
Get string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TupleSourceInfo(TupleSourceID tsID,
java.util.List schema,
java.lang.String[] types,
com.metamatrix.common.buffer.impl.TupleGroupInfo groupInfo,
BufferManager.TupleSourceType type)
tsID - Identifierschema - Schema describing tuple sourcegroupInfo - The tuple gorup to which this tuple source belongstype - Type of tuple source, as defined in BufferManager constants| Method Detail |
|---|
public void setContainingLobReference(Streamable<?> s)
public void addLobReference(Streamable<java.lang.Object> lob)
public static java.lang.String getStaleLobTupleSource()
public Streamable<?> getLobReference(java.lang.String id)
public void addBatch(com.metamatrix.common.buffer.impl.ManagedBatch batch)
public com.metamatrix.common.buffer.impl.ManagedBatch getBatch(int beginRow)
beginRow -
public void removeBatch(int beginRow)
public java.util.Iterator<com.metamatrix.common.buffer.impl.ManagedBatch> getBatchIterator()
public TupleSourceID getTupleSourceID()
public java.util.List getTupleSchema()
public com.metamatrix.common.buffer.impl.TupleGroupInfo getGroupInfo()
public int getRowCount()
public void setRowCount(int rows)
rows - New row countpublic BufferManager.TupleSourceStatus getStatus()
public void setStatus(BufferManager.TupleSourceStatus status)
status - New statuspublic BufferManager.TupleSourceType getType()
public boolean isRemoved()
public void setRemoved()
public boolean lobsInSource()
public java.lang.String[] getTypes()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||