| Constructor and Description |
|---|
StringEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
decodeBoolean(org.apache.fluo.api.data.Bytes b)
Decodes a boolean from
Bytes |
double |
decodeDouble(org.apache.fluo.api.data.Bytes b)
Decodes a double from
Bytes |
float |
decodeFloat(org.apache.fluo.api.data.Bytes b)
Decodes a float from
Bytes |
int |
decodeInteger(org.apache.fluo.api.data.Bytes b)
Decodes an integer from
Bytes |
long |
decodeLong(org.apache.fluo.api.data.Bytes b)
Decodes a long from
Bytes |
String |
decodeString(org.apache.fluo.api.data.Bytes b)
Decodes a String from
Bytes |
org.apache.fluo.api.data.Bytes |
encode(boolean b)
Encodes a boolean to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(double d)
Encodes a double to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(float f)
Encodes a float to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(int i)
Encodes an integer to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(long l)
Encodes a long to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(String s)
Encodes a String to
Bytes |
public org.apache.fluo.api.data.Bytes encode(int i)
EncoderBytespublic org.apache.fluo.api.data.Bytes encode(long l)
EncoderBytespublic org.apache.fluo.api.data.Bytes encode(String s)
EncoderBytespublic org.apache.fluo.api.data.Bytes encode(float f)
EncoderBytespublic org.apache.fluo.api.data.Bytes encode(double d)
EncoderBytespublic org.apache.fluo.api.data.Bytes encode(boolean b)
EncoderBytespublic int decodeInteger(org.apache.fluo.api.data.Bytes b)
EncoderBytesdecodeInteger in interface Encoderpublic long decodeLong(org.apache.fluo.api.data.Bytes b)
EncoderBytesdecodeLong in interface Encoderpublic String decodeString(org.apache.fluo.api.data.Bytes b)
EncoderBytesdecodeString in interface Encoderpublic float decodeFloat(org.apache.fluo.api.data.Bytes b)
EncoderBytesdecodeFloat in interface Encoderpublic double decodeDouble(org.apache.fluo.api.data.Bytes b)
EncoderBytesdecodeDouble in interface Encoderpublic boolean decodeBoolean(org.apache.fluo.api.data.Bytes b)
EncoderBytesdecodeBoolean in interface EncoderCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.