|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.timeindexing.index.IncoreIndexItem
A Full implementation of an IndexItem. Every value is explicitly held.
| Constructor Summary | |
protected |
IncoreIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
DataType type,
ID id,
ID annotationID)
Construct a IncoreIndexItem from |
protected |
IncoreIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
Size dataSize,
DataType type,
ID id,
ID annotationID)
Construct a IncoreIndexItem from |
|
IncoreIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataItem dataitem,
DataType type,
ID id,
ID annotationID)
Construct a IncoreIndexItem from |
| Method Summary | |
IndexItem |
follow()
Follow this reference. |
ID |
getAnnotations()
The ID of annotations associated with this IndexItem. |
java.nio.ByteBuffer |
getData()
A ByteBuffer of the Data being indexed. |
DataAbstraction |
getDataAbstraction()
The DataAbstraction of the Data being indexed. |
Size |
getDataSize()
The size of the data item being referenced. |
Timestamp |
getDataTimestamp()
The timestamp in the data of the current IndexItem. |
DataType |
getDataType()
The type of the data item being referenced. |
Index |
getIndex()
Get the index this IndexItem is in. |
Timestamp |
getIndexTimestamp()
The timestamp of the current IndexItem. |
ID |
getItemID()
The item ID. |
Timestamp |
getLastAccessTime()
Get the last time this IndexItem was accessed. |
AbsolutePosition |
getPosition()
Get the index position this IndexItem is in. |
boolean |
isReference()
Is the data held by the IndexItem, actually an IndexReference. |
ManagedIndexItem |
setIndex(Index index)
Set the index this IndexItem is in. |
ManagedIndexItem |
setLastAccessTime()
Set the last access time of the item. |
ManagedIndexItem |
setPosition(AbsolutePosition pos)
Set the index position that this IndexItem is in. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IncoreIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataItem dataitem,
DataType type,
ID id,
ID annotationID)
dataTS - a data timestamp. The Data timestamp is the same as the Sender timestamp.indexTS - an index timestamp. The Index timestamp is the same as the Receiver timestamp.type - the type of the dataid - an index IDannotationID - an ID for annotations
protected IncoreIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
DataType type,
ID id,
ID annotationID)
dataTS - a data timestamp. The Data timestamp is the same as the Sender timestamp.indexTS - an index timestamp. The Index timestamp is the same as the Receiver timestamp.data - some data as a Itemtype - the type of the dataid - an index IDannotationID - an ID for annotations
protected IncoreIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
Size dataSize,
DataType type,
ID id,
ID annotationID)
dataTS - a data timestamp. The Data timestamp is the same as the Sender timestamp.indexTS - an index timestamp. The Index timestamp is the same as the Receiver timestamp.data - some data as a Itemtype - the type of the dataid - an index IDannotationID - an ID for annotations| Method Detail |
public Timestamp getIndexTimestamp()
getIndexTimestamp in interface IndexItempublic Timestamp getDataTimestamp()
getDataTimestamp in interface IndexItempublic java.nio.ByteBuffer getData()
getData in interface IndexItempublic Size getDataSize()
getDataSize in interface IndexItempublic DataAbstraction getDataAbstraction()
getDataAbstraction in interface ManagedIndexItempublic DataType getDataType()
getDataType in interface IndexItempublic ID getItemID()
getItemID in interface IndexItempublic ID getAnnotations()
getAnnotations in interface IndexItempublic AbsolutePosition getPosition()
getPosition in interface IndexItempublic ManagedIndexItem setPosition(AbsolutePosition pos)
setPosition in interface ManagedIndexItempublic Index getIndex()
getIndex in interface IndexItempublic ManagedIndexItem setIndex(Index index)
setIndex in interface ManagedIndexItempublic Timestamp getLastAccessTime()
getLastAccessTime in interface IndexItempublic ManagedIndexItem setLastAccessTime()
setLastAccessTime in interface ManagedIndexItempublic boolean isReference()
isReference in interface IndexItem
public IndexItem follow()
throws GetItemException
follow in interface IndexItemGetItemException - if the reference cannot be followed successfully
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||