public class FieldValue extends Object implements EncodableData
field-value = 't' boolean 'b' short-short-int 'B' short-short-uint 'U' short-int 'u' short-uint 'I' long-int 'i' long-uint 'L' long-long-int 'l' long-long-uint 'f' float 'd' double 'D' decimal-value 's' short-string 'S' long-string 'A' field-array 'T' timestamp 'F' field-table 'V' ; no field
| Modifier and Type | Class and Description |
|---|---|
static class |
FieldValue.Type
Denotes the
FieldValue data type |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getSize() |
FieldValue.Type |
getType() |
EncodableData |
getValue() |
int |
hashCode() |
static FieldValue |
parse(io.netty.buffer.ByteBuf buf) |
static FieldValue |
parseLongInt(int value) |
static FieldValue |
parseLongString(String value) |
void |
write(io.netty.buffer.ByteBuf buf) |
public long getSize()
getSize in interface EncodableDatapublic void write(io.netty.buffer.ByteBuf buf)
write in interface EncodableDatapublic static FieldValue parse(io.netty.buffer.ByteBuf buf) throws Exception
Exceptionpublic FieldValue.Type getType()
public EncodableData getValue()
public static FieldValue parseLongInt(int value)
public static FieldValue parseLongString(String value)
Copyright © 2017 WSO2. All rights reserved.