Class CalciteSchemaBuilder

java.lang.Object
org.apache.calcite.jdbc.CalciteSchemaBuilder

public class CalciteSchemaBuilder extends Object
This class is used to create a CalciteSchema with a given Schema as the root.
  • Method Details

    • asRootSchema

      public static org.apache.calcite.jdbc.CalciteSchema asRootSchema(org.apache.calcite.schema.Schema root)
      Creates a CalciteSchema with a given Schema as the root.
      Parameters:
      root - schema to use as a root schema
      Returns:
      calcite schema with given schema as the root