org.objectweb.jorm.api

Interface PPrefetchTupleCollection

All Superinterfaces:
TupleCollection

public interface PPrefetchTupleCollection
extends TupleCollection

Defines an extension of a TupleCollection to use for the prefetching mechanism. This extension permits to known the index of the PName of the persistent class which is pefetched. It permits also to reach the prefetched buffer encaspsulates behind this tuple collection.

Authors:
P.Dechamboux
S.Chassande-Barrioz

Method Summary

int
getPNameIndex()
Gets the index of the PName of the persistent class which is pefetched
PrefetchBuffer
getPrefetchBuffer()
Gets the PrefetchBuffer associated with the TupleCollection.

Method Details

getPNameIndex

public int getPNameIndex()
Gets the index of the PName of the persistent class which is pefetched

Returns:
an integer value greater or equal to 1.


getPrefetchBuffer

public PrefetchBuffer getPrefetchBuffer()
Gets the PrefetchBuffer associated with the TupleCollection.

Returns:
The corresponding PrefetchBuffer.