Package org.apache.thrift.partial
Class TFieldData
java.lang.Object
org.apache.thrift.partial.TFieldData
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 -
Method Summary
-
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)
-