This project has retired. For details please refer to its
Attic page.
Encoder (Apache Gora 0.2 API)
org.apache.gora.accumulo.encoders
Interface Encoder
- All Known Implementing Classes:
- BinaryEncoder, HexEncoder, SignedBinaryEncoder
public interface Encoder
encodeByte
byte[] encodeByte(byte b,
byte[] ret)
encodeByte
byte[] encodeByte(byte b)
decodeByte
byte decodeByte(byte[] a)
encodeShort
byte[] encodeShort(short s)
encodeShort
byte[] encodeShort(short s,
byte[] ret)
decodeShort
short decodeShort(byte[] a)
encodeInt
byte[] encodeInt(int i)
encodeInt
byte[] encodeInt(int i,
byte[] ret)
decodeInt
int decodeInt(byte[] a)
encodeLong
byte[] encodeLong(long l)
encodeLong
byte[] encodeLong(long l,
byte[] ret)
decodeLong
long decodeLong(byte[] a)
encodeDouble
byte[] encodeDouble(double d)
encodeDouble
byte[] encodeDouble(double d,
byte[] ret)
decodeDouble
double decodeDouble(byte[] a)
encodeFloat
byte[] encodeFloat(float d)
encodeFloat
byte[] encodeFloat(float f,
byte[] ret)
decodeFloat
float decodeFloat(byte[] a)
decodeBoolean
boolean decodeBoolean(byte[] val)
encodeBoolean
byte[] encodeBoolean(boolean b)
encodeBoolean
byte[] encodeBoolean(boolean b,
byte[] ret)
followingKey
byte[] followingKey(int size,
byte[] per)
lastPossibleKey
byte[] lastPossibleKey(int size,
byte[] er)
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.