Class TFieldData


  • public class TFieldData
    extends java.lang.Object
    Holds the type and id members of a TField into a single int. This encoding scheme obviates the need to instantiate TField during the partial deserialization process.
    • Constructor Summary

      Constructors 
      Constructor Description
      TFieldData()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int encode​(byte type)  
      static int encode​(byte type, short id)  
      static short getId​(int data)  
      static byte getType​(int data)  
      • Methods inherited from class java.lang.Object

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

      • TFieldData

        public TFieldData()
    • Method Detail

      • encode

        public static int encode​(byte type)
      • encode

        public static int encode​(byte type,
                                 short id)
      • getType

        public static byte getType​(int data)
      • getId

        public static short getId​(int data)