Class ModelHandler

java.lang.Object
org.apache.calcite.model.ModelHandler

public class ModelHandler extends Object
Reads a model and creates schema objects accordingly.
  • Constructor Details

    • ModelHandler

      public ModelHandler(SchemaPlus rootSchema, String uri) throws IOException
      Creates a ModelHandler that uses the standard class-name filter.
      Throws:
      IOException
    • ModelHandler

      public ModelHandler(SchemaPlus rootSchema, String uri, org.apache.calcite.model.ClassNameFilter classNameFilter) throws IOException
      Creates a ModelHandler that validates every class loaded by reflection from the model against classNameFilter. Use this to apply a stricter (or more permissive) filter than the standard one.
      Throws:
      IOException
    • ModelHandler

      @Deprecated public ModelHandler(CalciteConnection connection, String uri) throws IOException
      Deprecated.
      Throws:
      IOException
  • Method Details