com.timeindexing.index
Interface ManagedFileIndexItem

All Superinterfaces:
IndexItem, ManagedIndexItem
All Known Implementing Classes:
FileIndexItem

public interface ManagedFileIndexItem
extends ManagedIndexItem

An interface for classes that need to manage IndexItems that reside in an Index file. It has the methods needed to manage an item from a file, but are not needed by the application layer.


Method Summary
 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 item for this index item.
 
Methods inherited from interface com.timeindexing.index.ManagedIndexItem
getDataAbstraction, setIndex, setLastAccessTime, setPosition
 
Methods inherited from interface com.timeindexing.index.IndexItem
follow, getAnnotationMetaData, getData, getDataItem, getDataSize, getDataTimestamp, getDataType, getIndex, getIndexTimestamp, getItemID, getLastAccessTime, getPosition, isReference
 

Method Detail

hasData

boolean hasData()
Does this IndexItem actually hold the data.


setData

ManagedFileIndexItem setData(DataAbstraction data)
Set the data to be a new DataAbstraction.


getIndexOffset

Offset getIndexOffset()
Get the file offset for the index for this index item.


setIndexOffset

ManagedFileIndexItem setIndexOffset(Offset offset)
Set the file offset for the index item for this index item.


getDataOffset

Offset getDataOffset()
Get the file offset for the data for this index item.


setDataOffset

ManagedFileIndexItem setDataOffset(Offset offset)
Set the file offset for the data for this index item.



Timeindexing 2008