Package org.apache.hadoop.hbase.util
Class Bytes.ConverterHolder.PureJavaConverter
java.lang.Object
org.apache.hadoop.hbase.util.Bytes.Converter
org.apache.hadoop.hbase.util.Bytes.ConverterHolder.PureJavaConverter
- Enclosing class:
- Bytes.ConverterHolder
-
Field Summary
Modifier and TypeFieldDescription(package private) static final Bytes.ConverterHolder.PureJavaConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) int
putInt
(byte[] bytes, int offset, int val) (package private) int
putLong
(byte[] bytes, int offset, long val) (package private) int
putShort
(byte[] bytes, int offset, short val) (package private) int
toInt
(byte[] bytes, int offset, int length) (package private) long
toLong
(byte[] bytes, int offset, int length) (package private) short
toShort
(byte[] bytes, int offset, int length)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
PureJavaConverter
private PureJavaConverter()
-
-
Method Details
-
toLong
- Specified by:
toLong
in classBytes.Converter
-
putLong
- Specified by:
putLong
in classBytes.Converter
-
toInt
- Specified by:
toInt
in classBytes.Converter
-
putInt
- Specified by:
putInt
in classBytes.Converter
-
toShort
- Specified by:
toShort
in classBytes.Converter
-
putShort
- Specified by:
putShort
in classBytes.Converter
-