|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CodeToClassAndBack
A Static Interface. Instead of having this code in the the HbaseMapWritable code, where it blocks the possibility of altering the variables and changing their types, it is put here in this static interface where the static final Maps are loaded one time. Only byte[] and Cell are supported at this time.
Nested Class Summary | |
---|---|
static class |
CodeToClassAndBack.InternalStaticLoader
Class that loads the static maps with their values. |
Field Summary | |
---|---|
static Map<Class<?>,Byte> |
CLASS_TO_CODE
Static map that contains mapping from class to code |
static Class<?>[] |
classList
Class list for supported classes |
static Map<Byte,Class<?>> |
CODE_TO_CLASS
Static map that contains mapping from code to class |
static CodeToClassAndBack.InternalStaticLoader |
sl
The static loader that is used instead of the static constructor in HbaseMapWritable. |
Field Detail |
---|
static final Map<Byte,Class<?>> CODE_TO_CLASS
static final Map<Class<?>,Byte> CLASS_TO_CODE
static final Class<?>[] classList
static final CodeToClassAndBack.InternalStaticLoader sl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |