Confluo
0.1.0
|
Public Member Functions | |
Field (String fieldName, DataType dataType, ByteBuffer data, int dataOffset) | |
String | getName () |
DataType | getType () |
boolean | asBoolean () |
char | asChar () |
short | asShort () |
int | asInt () |
long | asLong () |
float | asFloat () |
double | asDouble () |
String | asString () |
String | toString () |
Contains data stored as part of a record
|
inline |
Initializes the field to the data passed in
fieldName | The name of the field |
dataType | The data type of the field |
data | The ByteBuffer containing the field data |
dataOffset | The offset of the field in the ByteBuffer. |
|
inline |
Get value as a boolean.
|
inline |
Get value as a character.
|
inline |
Get value as a double.
|
inline |
Get value as a float.
|
inline |
Get value as an integer.
|
inline |
Get value as a long.
|
inline |
Get value as a short.
|
inline |
Get value as a String.
|
inline |
Get the field name.
|
inline |
Get the data type.
|
inline |
Convert field to string.