Package org.apache.calcite.avatica
Class AvaticaSqlException.PrintStreamOrWriter
- java.lang.Object
-
- org.apache.calcite.avatica.AvaticaSqlException.PrintStreamOrWriter
-
- Enclosing class:
- AvaticaSqlException
private static class AvaticaSqlException.PrintStreamOrWriter extends java.lang.ObjectA class that encapsulates either a PrintStream or a PrintWriter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classAvaticaSqlException.PrintStreamOrWriter.TypeEnumeration to differentiate between a PrintStream and a PrintWriter.
-
Field Summary
Fields Modifier and Type Field Description private java.io.PrintStreamstreamprivate AvaticaSqlException.PrintStreamOrWriter.Typetypeprivate java.io.PrintWriterwriter
-
Constructor Summary
Constructors Modifier Constructor Description privatePrintStreamOrWriter(java.io.PrintStream stream)privatePrintStreamOrWriter(java.io.PrintWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprintln(java.lang.String string)Prints the given string to the the provided stream or writer.
-
-
-
Field Detail
-
stream
private java.io.PrintStream stream
-
writer
private java.io.PrintWriter writer
-
type
private final AvaticaSqlException.PrintStreamOrWriter.Type type
-
-