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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeArray
(String label) attributeIdentity
(String label, Object obj) element
(int index) elementIdentity
(int index, Object obj) endArray()
void
extend()
startObject
(Object obj)
-
Constructor Details
-
HierarchicalPrinter
public HierarchicalPrinter()
-
-
Method Details
-
extend
public void extend()- Specified by:
extend
in interfaceHierarchicalFormatter
-
startObject
- Specified by:
startObject
in interfaceHierarchicalFormatter
-
attribute
- Specified by:
attribute
in interfaceHierarchicalFormatter
-
attribute
- Specified by:
attribute
in interfaceHierarchicalFormatter
-
attributeIdentity
- Specified by:
attributeIdentity
in interfaceHierarchicalFormatter
-
endObject
- Specified by:
endObject
in interfaceHierarchicalFormatter
-
attributeArray
- Specified by:
attributeArray
in interfaceHierarchicalFormatter
-
element
- Specified by:
element
in interfaceHierarchicalFormatter
-
element
- Specified by:
element
in interfaceHierarchicalFormatter
-
elementIdentity
- Specified by:
elementIdentity
in interfaceHierarchicalFormatter
-
endArray
- Specified by:
endArray
in interfaceHierarchicalFormatter
-