Class CalciteAssert.AddSchemaPostProcessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private org.apache.calcite.schema.Schema schema  
    • Constructor Summary

      Constructors 
      Constructor Description
      AddSchemaPostProcessor​(java.lang.String name, org.apache.calcite.schema.Schema schema)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.Connection apply​(java.sql.Connection connection)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        private final java.lang.String name
      • schema

        private final org.apache.calcite.schema.Schema schema
    • Constructor Detail

      • AddSchemaPostProcessor

        public AddSchemaPostProcessor​(java.lang.String name,
                                      org.apache.calcite.schema.Schema schema)
    • Method Detail

      • apply

        public java.sql.Connection apply​(java.sql.Connection connection)
                                  throws java.sql.SQLException
        Specified by:
        apply in interface CalciteAssert.ConnectionPostProcessor
        Throws:
        java.sql.SQLException