Class SqlStatementFactory

java.lang.Object
org.apache.druid.sql.SqlStatementFactory

public class SqlStatementFactory extends Object
A class for the creation of Statements, which happen to be used for Sql.
  • Constructor Details

    • SqlStatementFactory

      public SqlStatementFactory(SqlToolbox lifecycleToolbox)
      The construction of these objects in the production code is a bit circuitous. Specifically, the SqlToolbox looks like it can be normally injected, except it actually expects to be mutated with a SqlEngine before being injected. This is generally accomplished with Guice, examples of which can be seen in the SqlStatementFactoryModule.
      Parameters:
      lifecycleToolbox -
  • Method Details