com.timeindexing.index
Class DataReferenceObject

java.lang.Object
  extended bycom.timeindexing.index.DataReferenceObject
All Implemented Interfaces:
DataAbstraction, DataReference

public class DataReferenceObject
extends java.lang.Object
implements DataReference

An implementations for objects that act as references to data from an index. These are used when data is not read into an incore object, but a reference to it is held.


Constructor Summary
DataReferenceObject(Offset offsetR, Size sizeR)
          Construct a DataReference
 
Method Summary
 Offset getOffset()
          Get the offset in the underlying storage.
 Size getSize()
          Get the size of the data in the underlying storage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataReferenceObject

public DataReferenceObject(Offset offsetR,
                           Size sizeR)
Construct a DataReference

Method Detail

getOffset

public Offset getOffset()
Get the offset in the underlying storage.

Specified by:
getOffset in interface DataReference

getSize

public Size getSize()
Get the size of the data in the underlying storage.

Specified by:
getSize in interface DataAbstraction