|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.index.IndexReferenceDataHolder
A class that refers to an IndexItem in another Index.
Constructor Summary | |
IndexReferenceDataHolder(ID indexID,
Position itemPosition)
Construct an IndexReferenceDataHolder given the URI of the Index to refer to, the ID of the Index to refer to, and the Position of an IndexItem to refer to. |
|
IndexReferenceDataHolder(ManagedIndexItem myIndexItem,
ID indexID,
Position itemPosition)
Construct an IndexReferenceDataHolder given the IndexItem this is held in, the ID of the Index to refer to and the Position of an IndexItem to refer to. |
Method Summary | |
IndexItem |
follow()
Follow this reference. |
java.nio.ByteBuffer |
getBytes()
Get the data itself. |
ID |
getIndexID()
The ID of the index being referenced. |
IndexItem |
getIndexItem()
Get the IndexItem this IndexReference is associated with. |
Position |
getIndexItemPosition()
The Position of the IndexItem being referenced. |
java.net.URI |
getIndexURI()
The URI of the index being referenced. |
Timestamp |
getLastAccessTime()
Get the last time this object was accessed. |
Timestamp |
getReadTime()
Get the time the data was read from storage into this object. |
Size |
getSize()
Get the size of the data. |
IndexReferenceDataHolder |
setIndexItem(IndexItem item)
Set the IndexItem this IndexReference is associated with. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IndexReferenceDataHolder(ManagedIndexItem myIndexItem, ID indexID, Position itemPosition)
public IndexReferenceDataHolder(ID indexID, Position itemPosition)
Method Detail |
public java.net.URI getIndexURI()
getIndexURI
in interface IndexReference
public ID getIndexID()
getIndexID
in interface IndexReference
public Position getIndexItemPosition()
getIndexItemPosition
in interface IndexReference
public IndexItem follow() throws GetItemException
follow
in interface IndexReference
GetItemException
public java.nio.ByteBuffer getBytes()
getBytes
in interface DataHolder
public Size getSize()
getSize
in interface DataAbstraction
public Timestamp getLastAccessTime()
getLastAccessTime
in interface DataHolder
public Timestamp getReadTime()
getReadTime
in interface DataHolder
public IndexItem getIndexItem()
public IndexReferenceDataHolder setIndexItem(IndexItem item)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |