|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.timeindexing.index.IncoreIndexItem
com.timeindexing.index.FileIndexItem
An implementatio of an IndexItem that is saved in a file. Every value is explicitly held.
| Constructor Summary | |
FileIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
DataType type,
ID id,
ID annotationID)
Construct a FileIndexItem from |
|
FileIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
Size size,
DataType type,
ID id,
ID annotationID)
Construct a FileIndexItem from |
|
FileIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataItem dataitem,
DataType type,
ID id,
ID annotationID)
Construct a FileIndexItem from |
|
| Method Summary | |
java.nio.ByteBuffer |
getData()
A ByteBuffer of the Data being indexed. |
DataAbstraction |
getDataAbstraction()
Get the DataAbstraction held by the IndexItem. |
Offset |
getDataOffset()
Get the file offset for the data for this index item. |
Offset |
getIndexOffset()
Get the file offset for the index for this index item. |
boolean |
hasData()
Does this IndexItem actually hold the data. |
ManagedFileIndexItem |
setData(DataAbstraction data)
Set the data to be a new DataAbstraction. |
ManagedFileIndexItem |
setDataOffset(Offset offset)
Set the file offset for the data for this index item. |
ManagedFileIndexItem |
setIndexOffset(Offset offset)
Set the file offset for the index for this index item. |
| Methods inherited from class com.timeindexing.index.IncoreIndexItem |
follow, getAnnotations, getDataSize, getDataTimestamp, getDataType, getIndex, getIndexTimestamp, getItemID, getLastAccessTime, getPosition, isReference, setIndex, setLastAccessTime, setPosition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.timeindexing.index.IndexItem |
follow, getAnnotations, getDataSize, getDataTimestamp, getDataType, getIndex, getIndexTimestamp, getItemID, getLastAccessTime, getPosition, isReference |
| Methods inherited from interface com.timeindexing.index.ManagedIndexItem |
setIndex, setLastAccessTime, setPosition |
| Constructor Detail |
public FileIndexItem(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
public FileIndexItem(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 DataAbstractiontype - the type of the dataid - an index IDannotationID - a ID for annotations
public FileIndexItem(Timestamp dataTS,
Timestamp indexTS,
DataAbstraction data,
Size size,
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 DataAbstractionsize - the size of the DataAbstractiontype - the type of the dataid - an index IDannotationID - a ID for annotations| Method Detail |
public java.nio.ByteBuffer getData()
getData in interface IndexItemgetData in class IncoreIndexItempublic boolean hasData()
hasData in interface ManagedFileIndexItempublic DataAbstraction getDataAbstraction()
getDataAbstraction in interface ManagedIndexItemgetDataAbstraction in class IncoreIndexItempublic ManagedFileIndexItem setData(DataAbstraction data)
setData in interface ManagedFileIndexItempublic Offset getIndexOffset()
getIndexOffset in interface ManagedFileIndexItempublic ManagedFileIndexItem setIndexOffset(Offset offset)
setIndexOffset in interface ManagedFileIndexItempublic Offset getDataOffset()
getDataOffset in interface ManagedFileIndexItempublic ManagedFileIndexItem setDataOffset(Offset offset)
setDataOffset in interface ManagedFileIndexItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||