Class HierarchicalPrinter
java.lang.Object
org.apache.drill.exec.vector.accessor.impl.HierarchicalPrinter
- All Implemented Interfaces:
HierarchicalFormatter
Prints a complex object structure in a quasi-JSON format for use
in debugging. Generally only used in an ad-hoc fashion during
debugging sessions; never in production.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeArray(String label) attributeIdentity(String label, Object obj) element(int index) elementIdentity(int index, Object obj) endArray()voidextend()startObject(Object obj)
-
Constructor Details
-
HierarchicalPrinter
public HierarchicalPrinter()
-
-
Method Details
-
extend
public void extend()- Specified by:
extendin interfaceHierarchicalFormatter
-
startObject
- Specified by:
startObjectin interfaceHierarchicalFormatter
-
attribute
- Specified by:
attributein interfaceHierarchicalFormatter
-
attribute
- Specified by:
attributein interfaceHierarchicalFormatter
-
attributeIdentity
- Specified by:
attributeIdentityin interfaceHierarchicalFormatter
-
endObject
- Specified by:
endObjectin interfaceHierarchicalFormatter
-
attributeArray
- Specified by:
attributeArrayin interfaceHierarchicalFormatter
-
element
- Specified by:
elementin interfaceHierarchicalFormatter
-
element
- Specified by:
elementin interfaceHierarchicalFormatter
-
elementIdentity
- Specified by:
elementIdentityin interfaceHierarchicalFormatter
-
endArray
- Specified by:
endArrayin interfaceHierarchicalFormatter
-