Class SingleClassStringWriter

java.lang.Object
com.sun.codemodel.CodeWriter
org.apache.drill.exec.expr.SingleClassStringWriter

public class SingleClassStringWriter extends com.sun.codemodel.CodeWriter
  • Constructor Details

    • SingleClassStringWriter

      public SingleClassStringWriter()
  • Method Details

    • openBinary

      public OutputStream openBinary(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
      Specified by:
      openBinary in class com.sun.codemodel.CodeWriter
      Throws:
      IOException
    • openSource

      public Writer openSource(com.sun.codemodel.JPackage pkg, String fileName) throws IOException
      Overrides:
      openSource in class com.sun.codemodel.CodeWriter
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in class com.sun.codemodel.CodeWriter
      Throws:
      IOException
    • getCode

      public StringBuffer getCode()