|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.medor.eval.prefetch.lib.IntermediaryPrefetchBufferImpl
Constructor Summary | |
IntermediaryPrefetchBufferImpl(PrefetchBuffer delegatePb,
int[] associationTable)
|
Method Summary | |
void |
addPrefetchTuple()
Adds to this cache a prefetched tuple that is the one which currently traversed within the associated tuple collection. |
void |
close()
|
int[] |
getAssociationTable()
Gets the association table. |
PrefetchBuffer |
getDelegatePrefetchBuffer()
Gets the delegate prefetch buffer |
Tuple |
getTuple(java.lang.Object index)
Uses the association table to change the tuple retrieved from the delegatePb into a valid tuple for this prefetch buffer. |
TupleCollection |
getTupleCollection(java.lang.Object index)
Returns the tuple collection positionned on the tuple identified by index. |
boolean |
isClosed()
|
void |
setAssociationTable(int[] indexes)
Sets the association table between the tuple of the delegate prefetch buffer and its tuple. |
void |
setDelegatePrefetchBuffer(PrefetchBuffer pb)
Sets the delegate prefetch buffer |
void |
setTupleCollection(TupleCollection tc)
Associates a tuple collection to this PrefetchBuffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntermediaryPrefetchBufferImpl(PrefetchBuffer delegatePb, int[] associationTable)
Method Detail |
public void setDelegatePrefetchBuffer(PrefetchBuffer pb)
IntermediaryPrefetchBuffer
setDelegatePrefetchBuffer
in interface IntermediaryPrefetchBuffer
public PrefetchBuffer getDelegatePrefetchBuffer()
IntermediaryPrefetchBuffer
getDelegatePrefetchBuffer
in interface IntermediaryPrefetchBuffer
public void setAssociationTable(int[] indexes)
IntermediaryPrefetchBuffer
setAssociationTable
in interface IntermediaryPrefetchBuffer
indexes
- public int[] getAssociationTable()
IntermediaryPrefetchBuffer
getAssociationTable
in interface IntermediaryPrefetchBuffer
public void addPrefetchTuple() throws MedorException
PrefetchBuffer
addPrefetchTuple
in interface PrefetchBuffer
MedorException
public void setTupleCollection(TupleCollection tc) throws MedorException
PrefetchBuffer
setTupleCollection
in interface PrefetchBuffer
tc
- The associated tuple collection.
MedorException
public void close() throws MedorException
close
in interface PrefetchBuffer
MedorException
public boolean isClosed()
isClosed
in interface PrefetchBuffer
public Tuple getTuple(java.lang.Object index) throws MedorException
getTuple
in interface PrefetchBuffer
MedorException
public TupleCollection getTupleCollection(java.lang.Object index) throws MedorException
PrefetchBuffer
getTupleCollection
in interface PrefetchBuffer
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |