Package org.apache.calcite.jdbc
Class CalciteSchemaBuilder
java.lang.Object
org.apache.calcite.jdbc.CalciteSchemaBuilder
This class is used to create a
CalciteSchema with a given Schema as the root.-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.calcite.jdbc.CalciteSchemaasRootSchema(org.apache.calcite.schema.Schema root) Creates aCalciteSchemawith a givenSchemaas the root.
-
Method Details
-
asRootSchema
public static org.apache.calcite.jdbc.CalciteSchema asRootSchema(org.apache.calcite.schema.Schema root) Creates aCalciteSchemawith a givenSchemaas the root.- Parameters:
root- schema to use as a root schema- Returns:
- calcite schema with given schema as the root
-