Package org.apache.thrift
Interface TFieldIdEnum
public interface TFieldIdEnum
Interface for all generated struct Fields objects.
-
Method Summary
Modifier and TypeMethodDescriptionGets the field's name, exactly as in the IDL.short
Gets the Thrift field id for the named field.
-
Method Details
-
getThriftFieldId
short getThriftFieldId()Gets the Thrift field id for the named field.- Returns:
- the Thrift field id for the named field.
-
getFieldName
String getFieldName()Gets the field's name, exactly as in the IDL.- Returns:
- the field's name, exactly as in the IDL.
-