org.objectweb.jorm.api
Interface PPrefetchTupleCollection
- 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.
- P.Dechamboux
- S.Chassande-Barrioz
int | getPNameIndex() - Gets the index of the PName of the persistent class which is pefetched
|
PrefetchBuffer | getPrefetchBuffer() - Gets the PrefetchBuffer associated with the TupleCollection.
|
getPNameIndex
public int getPNameIndex()
Gets the index of the PName of the persistent class which is pefetched
- an integer value greater or equal to 1.
getPrefetchBuffer
public PrefetchBuffer getPrefetchBuffer()
Gets the PrefetchBuffer associated with the TupleCollection.
- The corresponding PrefetchBuffer.