Class Bytes.Converter

java.lang.Object
org.apache.hadoop.hbase.util.Bytes.Converter
Direct Known Subclasses:
Bytes.ConverterHolder.PureJavaConverter, Bytes.ConverterHolder.UnsafeConverter
Enclosing class:
Bytes

abstract static class Bytes.Converter extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract int
    putInt(byte[] bytes, int offset, int val)
     
    (package private) abstract int
    putLong(byte[] bytes, int offset, long val)
     
    (package private) abstract int
    putShort(byte[] bytes, int offset, short val)
     
    (package private) abstract int
    toInt(byte[] bytes, int offset, int length)
     
    (package private) abstract long
    toLong(byte[] bytes, int offset, int length)
     
    (package private) abstract short
    toShort(byte[] bytes, int offset, int length)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • toLong

      abstract long toLong(byte[] bytes, int offset, int length)
    • putLong

      abstract int putLong(byte[] bytes, int offset, long val)
    • toInt

      abstract int toInt(byte[] bytes, int offset, int length)
    • putInt

      abstract int putInt(byte[] bytes, int offset, int val)
    • toShort

      abstract short toShort(byte[] bytes, int offset, int length)
    • putShort

      abstract int putShort(byte[] bytes, int offset, short val)