public class DefaultValueDeserializer extends java.lang.Object implements IValueDeserializer
Modifier | Constructor and Description |
---|---|
protected |
DefaultValueDeserializer(java.nio.ByteBuffer buffer,
IRegistry<java.lang.String> stringRegistry) |
Modifier and Type | Method and Description |
---|---|
static DefaultValueDeserializer |
create(java.nio.ByteBuffer buffer,
IRegistry<java.lang.String> stringRegistry) |
boolean |
getBoolean()
Retrieves a
boolean value from the underlying data source. |
byte |
getByte()
Retrieves a
byte value from the underlying data source. |
byte[] |
getBytes(byte[] target)
Retrieves raw data from the underlying data source.
|
char |
getChar()
Retrieves a
char value from the underlying data source. |
double |
getDouble()
Retrieves a
double value from the underlying data source. |
float |
getFloat()
Retrieves a
float value from the underlying data source. |
int |
getInt()
Retrieves an
int value from the underlying data source. |
long |
getLong()
Retrieves a
long value from the underlying data source. |
short |
getShort()
Retrieves a
short value from the underlying data source. |
java.lang.String |
getString()
Retrieves a
String value from the underlying data source. |
protected DefaultValueDeserializer(java.nio.ByteBuffer buffer, IRegistry<java.lang.String> stringRegistry)
public static DefaultValueDeserializer create(java.nio.ByteBuffer buffer, IRegistry<java.lang.String> stringRegistry)
public boolean getBoolean()
IValueDeserializer
boolean
value from the underlying data source.getBoolean
in interface IValueDeserializer
public byte getByte()
IValueDeserializer
byte
value from the underlying data source.getByte
in interface IValueDeserializer
public int getInt()
IValueDeserializer
int
value from the underlying data source.getInt
in interface IValueDeserializer
public long getLong()
IValueDeserializer
long
value from the underlying data source.getLong
in interface IValueDeserializer
public double getDouble()
IValueDeserializer
double
value from the underlying data source.getDouble
in interface IValueDeserializer
public java.lang.String getString()
IValueDeserializer
String
value from the underlying data source.getString
in interface IValueDeserializer
public byte[] getBytes(byte[] target)
IValueDeserializer
getBytes
in interface IValueDeserializer
target
- The array to store the data inpublic char getChar()
IValueDeserializer
char
value from the underlying data source.getChar
in interface IValueDeserializer
public short getShort()
IValueDeserializer
short
value from the underlying data source.getShort
in interface IValueDeserializer
public float getFloat()
IValueDeserializer
float
value from the underlying data source.getFloat
in interface IValueDeserializer
Copyright 2017 Kieker Project, http://kieker-monitoring.net