|
||||||||||
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 annotationsprotected 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 annotationsprotected 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 annotationsMethod Detail |
public Timestamp getIndexTimestamp()
getIndexTimestamp
in interface IndexItem
public Timestamp getDataTimestamp()
getDataTimestamp
in interface IndexItem
public java.nio.ByteBuffer getData()
getData
in interface IndexItem
public Size getDataSize()
getDataSize
in interface IndexItem
public DataAbstraction getDataAbstraction()
getDataAbstraction
in interface ManagedIndexItem
public DataType getDataType()
getDataType
in interface IndexItem
public ID getItemID()
getItemID
in interface IndexItem
public ID getAnnotations()
getAnnotations
in interface IndexItem
public AbsolutePosition getPosition()
getPosition
in interface IndexItem
public ManagedIndexItem setPosition(AbsolutePosition pos)
setPosition
in interface ManagedIndexItem
public Index getIndex()
getIndex
in interface IndexItem
public ManagedIndexItem setIndex(Index index)
setIndex
in interface ManagedIndexItem
public Timestamp getLastAccessTime()
getLastAccessTime
in interface IndexItem
public ManagedIndexItem setLastAccessTime()
setLastAccessTime
in interface ManagedIndexItem
public boolean isReference()
isReference
in interface IndexItem
public IndexItem follow() throws GetItemException
follow
in interface IndexItem
GetItemException
- if the reference cannot be followed successfully
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |