public PrintStream getConvertedPrintStream(PrintStream inner) throws Exception {
        return new SortAndDigestPrintStream(inner, "UTF-8");
      }
The supported type of converters pointing to a specific FetchConverter class, and the method
which provides the actual converted stream.
itests/util/src/main/java/org/apache/hive/beeline/ConvertedOutputFile.java