Class TFieldData

java.lang.Object
org.apache.thrift.partial.TFieldData

public class TFieldData extends 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 Details

    • TFieldData

      public TFieldData()
  • Method Details

    • 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)