MCPcopy Create free account
hub / github.com/apache/pig / toIndentedString

Method toIndentedString

src/org/apache/pig/impl/logicalLayer/schema/Schema.java:940–949  ·  view source on GitHub ↗
(int indentLevel)

Source from the content-addressed store, hash-verified

938 }
939
940 private String toIndentedString(int indentLevel) {
941 StringBuilder sb = new StringBuilder();
942 try {
943 stringifySchema(sb, this, DataType.BAG, indentLevel) ;
944 }
945 catch (FrontendException fee) {
946 throw new RuntimeException("PROBLEM PRINTING SCHEMA") ;
947 }
948 return sb.toString();
949 }
950
951 public static void stringifySchema(StringBuilder sb, Schema schema, byte type)
952 throws FrontendException {

Callers 2

toStringMethod · 0.95
prettyPrintMethod · 0.95

Calls 2

stringifySchemaMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected