|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.timeindexing.data.ByteBufferItem
public class ByteBufferItem
A item of data presented by a data reader This is an implementation of ByteBufferItem.
| Constructor Summary | |
|---|---|
ByteBufferItem(java.nio.ByteBuffer bb)
Construct a ByteBufferItem from a ByteBuffer. |
|
ByteBufferItem(java.nio.ByteBuffer bb,
DataType type)
Construct a ByteBufferItem from a ByteBuffer and a DataType |
|
| Method Summary | |
|---|---|
java.nio.ByteBuffer |
getBytes()
Get the data itself |
DataType |
getDataType()
Get the DataType of the DataItem. |
java.lang.Object |
getObject()
Get the ByteBuffer object from this ByteBufferItem. |
long |
getSize()
Get the size of the item |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteBufferItem(java.nio.ByteBuffer bb)
public ByteBufferItem(java.nio.ByteBuffer bb,
DataType type)
| Method Detail |
|---|
public java.nio.ByteBuffer getBytes()
getBytes in interface DataItempublic long getSize()
getSize in interface DataItempublic DataType getDataType()
getDataType in interface DataItempublic java.lang.Object getObject()
getObject in interface DataItem
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||