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

public static class ThriftMetadata.ThriftPrimitive extends ThriftMetadata.ThriftObject
Metadata about primitive types.
See Also:
  • Method Details

    • isBinary

      public boolean isBinary()
    • toPrettyString

      protected void toPrettyString(StringBuilder sb, int level)
      Description copied from class: ThriftMetadata.ThriftObject
      Converts this instance to formatted and indented string representation.
      Specified by:
      toPrettyString in class ThriftMetadata.ThriftObject
      Parameters:
      sb - the StringBuilder to add formatted strings to.
      level - the current indent level.