Top Description Inners Fields Constructors Methods
org.hibernate.sql.results.graph

public Class DomainResultGraphPrinter

extends Object
Class Inheritance
Imports
java.util.Iterator, .List, org.hibernate.internal.log.SubSystemLogging, org.hibernate.internal.util.collections.Stack, .StandardStack, org.hibernate.sql.results.ResultsLogger, org.jboss.logging.Logger

Printer for DomainResult graphs
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface

Field Summary

Modifier and TypeField and Description
private final StringBuilder
private final Stack<FetchParent>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private void
public static void
public static void
logDomainResultGraph(String header, List<DomainResult<?>> domainResults)

private void
private void
private void
visitGraphNode(DomainResultGraphNode node, boolean lastInBranch)

private void
visitGraphNode(DomainResultGraphNode node, boolean lastInBranch, String nodeText)

private void
visitKeyGraphNode(DomainResultGraphNode node, boolean lastInBranch)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private final StringBuilder buffer
fetchParentStackback to summary
private final Stack<FetchParent> fetchParentStack

Constructor Detail

DomainResultGraphPrinterback to summary
private DomainResultGraphPrinter(String header)

Method Detail

indentLineback to summary
private void indentLine()
logDomainResultGraphback to summary
public static void logDomainResultGraph(List<DomainResult<?>> domainResults)
logDomainResultGraphback to summary
public static void logDomainResultGraph(String header, List<DomainResult<?>> domainResults)
visitDomainResultsback to summary
private void visitDomainResults(List<DomainResult<?>> domainResults)
visitFetchesback to summary
private void visitFetches(FetchParent fetchParent)
visitGraphNodeback to summary
private void visitGraphNode(DomainResultGraphNode node, boolean lastInBranch)
visitGraphNodeback to summary
private void visitGraphNode(DomainResultGraphNode node, boolean lastInBranch, String nodeText)
visitKeyGraphNodeback to summary
private void visitKeyGraphNode(DomainResultGraphNode node, boolean lastInBranch)
org.hibernate.sql.results.graph back to summary

pack-priv Interface DomainResultGraphPrinter.Logging

Annotations
@SubSystemLogging
name:org.hibernate.orm.results.graph.AST
description:Logging of `DomainResult` graphs

Field Summary

Modifier and TypeField and Description
public static final Logger
public static final String

Field Detail

AST_LOGGERback to summary
public static final Logger AST_LOGGER
LOGGER_NAMEback to summary
public static final String LOGGER_NAME