Package org.apache.thrift.partial
Class ThriftMetadata.ThriftPrimitive
java.lang.Object
org.apache.thrift.partial.ThriftMetadata.ThriftObject
org.apache.thrift.partial.ThriftMetadata.ThriftPrimitive
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ThriftMetadata
Metadata about primitive types.
- See Also:
-
Field Summary
Fields inherited from class org.apache.thrift.partial.ThriftMetadata.ThriftObject
additionalData, data, fieldId, noFields, parent -
Method Summary
Modifier and TypeMethodDescriptionbooleanisBinary()protected voidtoPrettyString(StringBuilder sb, int level) Converts this instance to formatted and indented string representation.Methods inherited from class org.apache.thrift.partial.ThriftMetadata.ThriftObject
append, getIndent, getName, getSubElementName, getSubElementName
-
Method Details
-
isBinary
public boolean isBinary() -
toPrettyString
Description copied from class:ThriftMetadata.ThriftObjectConverts this instance to formatted and indented string representation.- Specified by:
toPrettyStringin classThriftMetadata.ThriftObject- Parameters:
sb- theStringBuilderto add formatted strings to.level- the current indent level.
-