com.timeindexing.data
Interface DataItem

All Known Implementing Classes:
ByteBufferItem, ReaderResultItem, StringItem

public interface DataItem

An item of data presented by a data reader into the index. This is the generic interface to the data coming into the system.


Method Summary
 java.nio.ByteBuffer getBytes()
          Get the data itself
 DataType getDataType()
          Get the DataType of the DataItem.
 long getSize()
          Get the size of the data item
 

Method Detail

getBytes

public java.nio.ByteBuffer getBytes()
Get the data itself


getSize

public long getSize()
Get the size of the data item


getDataType

public DataType getDataType()
Get the DataType of the DataItem.