Uses of Class
org.apache.calcite.jdbc.CalciteSchema
-
Packages that use CalciteSchema Package Description org.apache.calcite.jdbc JDBC driver for Calcite.org.apache.calcite.materialize Management of materialized query results.org.apache.calcite.prepare Preparation of queries (parsing, planning and implementation).org.apache.calcite.schema Schema SPI.org.apache.calcite.schema.impl Utilities to help implement Calcite's SPIs.org.apache.calcite.sql.ddl Parse tree for SQL DDL statements.org.apache.calcite.sql.validate SQL validation. -
-
Uses of CalciteSchema in org.apache.calcite.jdbc
Subclasses of CalciteSchema in org.apache.calcite.jdbc Modifier and Type Class Description (package private) class
CachingCalciteSchema
Concrete implementation ofCalciteSchema
that caches tables, functions and sub-schemas.class
CalciteRootSchema
Deprecated.(package private) class
SimpleCalciteSchema
A concrete implementation ofCalciteSchema
that maintains minimal state.Fields in org.apache.calcite.jdbc declared as CalciteSchema Modifier and Type Field Description private CalciteSchema
CalciteMetaImpl.CalciteMetaSchema. calciteSchema
private CalciteSchema
CalciteConnectionImpl.ContextImpl. mutableRootSchema
private CalciteSchema
CalciteSchema. parent
private CalciteSchema
CalciteConnectionImpl.ContextImpl. rootSchema
private CalciteSchema
CalciteConnectionImpl.DataContextImpl. rootSchema
(package private) CalciteSchema
CalciteConnectionImpl. rootSchema
CalciteSchema
CalcitePrepare.CalciteSignature. rootSchema
CalciteSchema
CalciteSchema.Entry. schema
Fields in org.apache.calcite.jdbc with type parameters of type CalciteSchema Modifier and Type Field Description (package private) com.google.common.cache.LoadingCache<java.lang.String,CalciteSchema>
CachingCalciteSchema.SubSchemaCache. cache
CachedCalciteSchema
wrappers.protected NameMap<CalciteSchema>
CalciteSchema. subSchemaMap
Methods in org.apache.calcite.jdbc that return CalciteSchema Modifier and Type Method Description CalciteSchema
CachingCalciteSchema. add(java.lang.String name, Schema schema)
Adds a child schema of this schema.abstract CalciteSchema
CalciteSchema. add(java.lang.String name, Schema schema)
Adds a child schema of this schema.CalciteSchema
SimpleCalciteSchema. add(java.lang.String name, Schema schema)
(package private) CalciteSchema
CalciteSchema.SchemaPlusImpl. calciteSchema()
static CalciteSchema
CalciteSchema. createRootSchema(boolean addMetadataSchema)
Creates a root schema.static CalciteSchema
CalciteSchema. createRootSchema(boolean addMetadataSchema, boolean cache)
Creates a root schema.static CalciteSchema
CalciteSchema. createRootSchema(boolean addMetadataSchema, boolean cache, java.lang.String name)
Creates a root schema.CalciteSchema
CalciteSchema. createSnapshot(SchemaVersion version)
Creates a snapshot of this CalciteSchema as of the specified time.static CalciteSchema
CalciteSchema. from(SchemaPlus plus)
protected CalciteSchema
CachingCalciteSchema. getImplicitSubSchema(java.lang.String schemaName, boolean caseSensitive)
protected abstract CalciteSchema
CalciteSchema. getImplicitSubSchema(java.lang.String schemaName, boolean caseSensitive)
Returns a sub-schema with a given name that is defined implicitly (that is, by the underlyingSchema
object, not explicitly by a call toadd(String, Schema)
), or null.protected CalciteSchema
SimpleCalciteSchema. getImplicitSubSchema(java.lang.String schemaName, boolean caseSensitive)
CalciteSchema
CalciteConnectionImpl.ContextImpl. getMutableRootSchema()
CalciteSchema
CalcitePrepare.Context. getMutableRootSchema()
Returns the root schema for statements that need to be able to modify schemas and have the results available to other statements.CalciteSchema
CalciteConnectionImpl.ContextImpl. getRootSchema()
CalciteSchema
CalcitePrepare.Context. getRootSchema()
Returns the root schema for statements that need a read-consistent snapshot.CalciteSchema
CalciteSchema. getSubSchema(java.lang.String schemaName, boolean caseSensitive)
CalciteSchema
CalciteSchema. root()
protected CalciteSchema
CachingCalciteSchema. snapshot(CalciteSchema parent, SchemaVersion version)
protected abstract CalciteSchema
CalciteSchema. snapshot(CalciteSchema parent, SchemaVersion version)
Returns a snapshot representation of this CalciteSchema.protected CalciteSchema
SimpleCalciteSchema. snapshot(CalciteSchema parent, SchemaVersion version)
Methods in org.apache.calcite.jdbc that return types with arguments of type CalciteSchema Modifier and Type Method Description java.util.NavigableMap<java.lang.String,CalciteSchema>
CalciteSchema. getSubSchemaMap()
Returns a collection of sub-schemas, both explicit (defined usingadd(String, org.apache.calcite.schema.Schema)
) and implicit (defined usingSchema.getSubSchemaNames()
andSchema.getSubSchema(String)
).Methods in org.apache.calcite.jdbc with parameters of type CalciteSchema Modifier and Type Method Description static CalciteConnection
CalciteMetaImpl. connect(CalciteSchema schema, JavaTypeFactory typeFactory)
A trojan-horse method, subject to change without notice.(package private) CalciteConnection
Driver. connect(CalciteSchema rootSchema, JavaTypeFactory typeFactory)
Creates an internal connection.(package private) CalciteConnection
Driver. connect(CalciteSchema rootSchema, JavaTypeFactory typeFactory, java.util.Properties properties)
Creates an internal connection.DataContext
CalciteConnectionImpl. createDataContext(java.util.Map<java.lang.String,java.lang.Object> parameterValues, CalciteSchema rootSchema)
abstract org.apache.calcite.avatica.AvaticaConnection
CalciteFactory. newConnection(org.apache.calcite.avatica.UnregisteredDriver driver, org.apache.calcite.avatica.AvaticaFactory factory, java.lang.String url, java.util.Properties info, CalciteSchema rootSchema, JavaTypeFactory typeFactory)
Creates a connection with a root schema.CalciteJdbc41Factory.CalciteJdbc41Connection
CalciteJdbc41Factory. newConnection(org.apache.calcite.avatica.UnregisteredDriver driver, org.apache.calcite.avatica.AvaticaFactory factory, java.lang.String url, java.util.Properties info, CalciteSchema rootSchema, JavaTypeFactory typeFactory)
protected CalciteSchema
CachingCalciteSchema. snapshot(CalciteSchema parent, SchemaVersion version)
protected abstract CalciteSchema
CalciteSchema. snapshot(CalciteSchema parent, SchemaVersion version)
Returns a snapshot representation of this CalciteSchema.protected CalciteSchema
SimpleCalciteSchema. snapshot(CalciteSchema parent, SchemaVersion version)
Method parameters in org.apache.calcite.jdbc with type arguments of type CalciteSchema Modifier and Type Method Description protected void
CachingCalciteSchema. addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,CalciteSchema> builder)
protected abstract void
CalciteSchema. addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,CalciteSchema> builder)
Adds implicit sub-schemas to a builder.protected void
SimpleCalciteSchema. addImplicitSubSchemaToBuilder(com.google.common.collect.ImmutableSortedMap.Builder<java.lang.String,CalciteSchema> builder)
Constructors in org.apache.calcite.jdbc with parameters of type CalciteSchema Constructor Description CachingCalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name)
Creates a CachingCalciteSchema.CachingCalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name, NameMap<CalciteSchema> subSchemaMap, NameMap<CalciteSchema.TableEntry> tableMap, NameMap<CalciteSchema.LatticeEntry> latticeMap, NameMap<CalciteSchema.TypeEntry> typeMap, NameMultimap<CalciteSchema.FunctionEntry> functionMap, NameSet functionNames, NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap, java.util.List<? extends java.util.List<java.lang.String>> path)
CalciteConnectionImpl(Driver driver, org.apache.calcite.avatica.AvaticaFactory factory, java.lang.String url, java.util.Properties info, CalciteSchema rootSchema, JavaTypeFactory typeFactory)
Creates a CalciteConnectionImpl.CalciteJdbc41Connection(Driver driver, org.apache.calcite.avatica.AvaticaFactory factory, java.lang.String url, java.util.Properties info, CalciteSchema rootSchema, JavaTypeFactory typeFactory)
CalciteMetaSchema(CalciteSchema calciteSchema, java.lang.String tableCatalog, java.lang.String tableSchem)
CalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name, NameMap<CalciteSchema> subSchemaMap, NameMap<CalciteSchema.TableEntry> tableMap, NameMap<CalciteSchema.LatticeEntry> latticeMap, NameMap<CalciteSchema.TypeEntry> typeMap, NameMultimap<CalciteSchema.FunctionEntry> functionMap, NameSet functionNames, NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap, java.util.List<? extends java.util.List<java.lang.String>> path)
CalciteSignature(java.lang.String sql, java.util.List<org.apache.calcite.avatica.AvaticaParameter> parameterList, java.util.Map<java.lang.String,java.lang.Object> internalParameters, RelDataType rowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData> columns, org.apache.calcite.avatica.Meta.CursorFactory cursorFactory, CalciteSchema rootSchema, java.util.List<RelCollation> collationList, long maxRowCount, Bindable<T> bindable)
Deprecated.CalciteSignature(java.lang.String sql, java.util.List<org.apache.calcite.avatica.AvaticaParameter> parameterList, java.util.Map<java.lang.String,java.lang.Object> internalParameters, RelDataType rowType, java.util.List<org.apache.calcite.avatica.ColumnMetaData> columns, org.apache.calcite.avatica.Meta.CursorFactory cursorFactory, CalciteSchema rootSchema, java.util.List<RelCollation> collationList, long maxRowCount, Bindable<T> bindable, org.apache.calcite.avatica.Meta.StatementType statementType)
DataContextImpl(CalciteConnectionImpl connection, java.util.Map<java.lang.String,java.lang.Object> parameters, CalciteSchema rootSchema)
Entry(CalciteSchema schema, java.lang.String name)
FunctionEntry(CalciteSchema schema, java.lang.String name)
FunctionEntryImpl(CalciteSchema schema, java.lang.String name, Function function)
Creates a FunctionEntryImpl.LatticeEntry(CalciteSchema schema, java.lang.String name)
LatticeEntryImpl(CalciteSchema schema, java.lang.String name, Lattice lattice)
Creates a LatticeEntryImpl.SimpleCalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name)
Creates a SimpleCalciteSchema.SimpleCalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name, NameMap<CalciteSchema> subSchemaMap, NameMap<CalciteSchema.TableEntry> tableMap, NameMap<CalciteSchema.LatticeEntry> latticeMap, NameMap<CalciteSchema.TypeEntry> typeMap, NameMultimap<CalciteSchema.FunctionEntry> functionMap, NameSet functionNames, NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap, java.util.List<? extends java.util.List<java.lang.String>> path)
SubSchemaCache(CalciteSchema calciteSchema, java.util.Set<java.lang.String> names)
TableEntry(CalciteSchema schema, java.lang.String name, com.google.common.collect.ImmutableList<java.lang.String> sqls)
TableEntryImpl(CalciteSchema schema, java.lang.String name, Table table, com.google.common.collect.ImmutableList<java.lang.String> sqls)
Creates a TableEntryImpl.TypeEntry(CalciteSchema schema, java.lang.String name)
TypeEntryImpl(CalciteSchema schema, java.lang.String name, RelProtoDataType protoDataType)
Creates a TypeEntryImpl.Constructor parameters in org.apache.calcite.jdbc with type arguments of type CalciteSchema Constructor Description CachingCalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name, NameMap<CalciteSchema> subSchemaMap, NameMap<CalciteSchema.TableEntry> tableMap, NameMap<CalciteSchema.LatticeEntry> latticeMap, NameMap<CalciteSchema.TypeEntry> typeMap, NameMultimap<CalciteSchema.FunctionEntry> functionMap, NameSet functionNames, NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap, java.util.List<? extends java.util.List<java.lang.String>> path)
CalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name, NameMap<CalciteSchema> subSchemaMap, NameMap<CalciteSchema.TableEntry> tableMap, NameMap<CalciteSchema.LatticeEntry> latticeMap, NameMap<CalciteSchema.TypeEntry> typeMap, NameMultimap<CalciteSchema.FunctionEntry> functionMap, NameSet functionNames, NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap, java.util.List<? extends java.util.List<java.lang.String>> path)
SimpleCalciteSchema(CalciteSchema parent, Schema schema, java.lang.String name, NameMap<CalciteSchema> subSchemaMap, NameMap<CalciteSchema.TableEntry> tableMap, NameMap<CalciteSchema.LatticeEntry> latticeMap, NameMap<CalciteSchema.TypeEntry> typeMap, NameMultimap<CalciteSchema.FunctionEntry> functionMap, NameSet functionNames, NameMap<CalciteSchema.FunctionEntry> nullaryFunctionMap, java.util.List<? extends java.util.List<java.lang.String>> path)
-
Uses of CalciteSchema in org.apache.calcite.materialize
Fields in org.apache.calcite.materialize declared as CalciteSchema Modifier and Type Field Description private CalciteSchema
Lattice.Builder. rootSchema
CalciteSchema
Lattice. rootSchema
(package private) CalciteSchema
MaterializationActor.Materialization. rootSchema
(package private) CalciteSchema
MaterializationActor.QueryKey. schema
Methods in org.apache.calcite.materialize with parameters of type CalciteSchema Modifier and Type Method Description static Lattice.Builder
Lattice. builder(CalciteSchema calciteSchema, java.lang.String sql)
(package private) static Lattice.Builder
Lattice. builder(LatticeSpace space, CalciteSchema calciteSchema, java.lang.String sql)
static Lattice
Lattice. create(CalciteSchema schema, java.lang.String sql, boolean auto)
Creates a Lattice.Table
MaterializationService.DefaultTableFactory. createTable(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath)
Table
MaterializationService.TableFactory. createTable(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath)
MaterializationKey
MaterializationService. defineMaterialization(CalciteSchema schema, TileKey tileKey, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.lang.String suggestedTableName, boolean create, boolean existing)
Defines a new materialization.MaterializationKey
MaterializationService. defineMaterialization(CalciteSchema schema, TileKey tileKey, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.lang.String suggestedTableName, MaterializationService.TableFactory tableFactory, boolean create, boolean existing)
Defines a new materialization.Pair<CalciteSchema.TableEntry,TileKey>
MaterializationService. defineTile(Lattice lattice, ImmutableBitSet groupSet, java.util.List<Lattice.Measure> measureList, CalciteSchema schema, boolean create, boolean exact)
Defines a tile.Pair<CalciteSchema.TableEntry,TileKey>
MaterializationService. defineTile(Lattice lattice, ImmutableBitSet groupSet, java.util.List<Lattice.Measure> measureList, CalciteSchema schema, boolean create, boolean exact, java.lang.String suggestedTableName, MaterializationService.TableFactory tableFactory)
java.util.List<Prepare.Materialization>
MaterializationService. query(CalciteSchema rootSchema)
Gathers a list of all materialized tables known within a given root schema.Constructors in org.apache.calcite.materialize with parameters of type CalciteSchema Constructor Description Builder(LatticeSpace space, CalciteSchema schema, java.lang.String sql)
Builder(LatticeSpace space, CalciteSchema schema, MutableNode mutableNode)
Creates a Builder based upon a mutable node.Lattice(CalciteSchema rootSchema, LatticeRootNode rootNode, boolean auto, boolean algorithm, long algorithmMaxMillis, LatticeStatisticProvider.Factory statisticProviderFactory, java.lang.Double rowCountEstimate, com.google.common.collect.ImmutableList<Lattice.Column> columns, com.google.common.collect.ImmutableSortedSet<Lattice.Measure> defaultMeasures, com.google.common.collect.ImmutableList<Lattice.Tile> tiles)
Materialization(MaterializationKey key, CalciteSchema rootSchema, CalciteSchema.TableEntry materializedTable, java.lang.String sql, RelDataType rowType, java.util.List<java.lang.String> viewSchemaPath)
Creates a materialization.QueryKey(java.lang.String sql, CalciteSchema schema, java.util.List<java.lang.String> path)
-
Uses of CalciteSchema in org.apache.calcite.prepare
Fields in org.apache.calcite.prepare declared as CalciteSchema Modifier and Type Field Description protected CalciteSchema
CalciteCatalogReader. rootSchema
protected CalciteSchema
CalcitePrepareImpl.CalcitePreparingStmt. schema
Methods in org.apache.calcite.prepare that return CalciteSchema Modifier and Type Method Description CalciteSchema
CalciteCatalogReader. getRootSchema()
Methods in org.apache.calcite.prepare with parameters of type CalciteSchema Modifier and Type Method Description private SqlMonikerImpl
CalciteCatalogReader. moniker(CalciteSchema schema, java.lang.String name, SqlMonikerType type)
private void
CalciteMaterializer. useStar(CalciteSchema schema, Prepare.Materialization materialization)
Converts a relational expression to use aStarTable
defined inschema
.private java.lang.Iterable<CalciteMaterializer.Callback>
CalciteMaterializer. useStar(CalciteSchema schema, RelNode queryRel)
Converts a relational expression to use aStarTable
defined inschema
.Constructors in org.apache.calcite.prepare with parameters of type CalciteSchema Constructor Description CalciteCatalogReader(CalciteSchema rootSchema, java.util.List<java.lang.String> defaultSchema, RelDataTypeFactory typeFactory, CalciteConnectionConfig config)
CalciteCatalogReader(CalciteSchema rootSchema, SqlNameMatcher nameMatcher, java.util.List<java.util.List<java.lang.String>> schemaPaths, RelDataTypeFactory typeFactory, CalciteConnectionConfig config)
CalciteMaterializer(CalcitePrepareImpl prepare, CalcitePrepare.Context context, Prepare.CatalogReader catalogReader, CalciteSchema schema, RelOptPlanner planner, SqlRexConvertletTable convertletTable)
CalcitePreparingStmt(CalcitePrepareImpl prepare, CalcitePrepare.Context context, Prepare.CatalogReader catalogReader, RelDataTypeFactory typeFactory, CalciteSchema schema, EnumerableRel.Prefer prefer, RelOptPlanner planner, Convention resultConvention, SqlRexConvertletTable convertletTable)
-
Uses of CalciteSchema in org.apache.calcite.schema
Methods in org.apache.calcite.schema that return CalciteSchema Modifier and Type Method Description static CalciteSchema
Schemas. subSchema(CalciteSchema schema, java.lang.Iterable<java.lang.String> names)
Returns a sub-schema of a given schema obtained by following a sequence of names.Methods in org.apache.calcite.schema with parameters of type CalciteSchema Modifier and Type Method Description static CalcitePrepare.AnalyzeViewResult
Schemas. analyzeView(CalciteConnection connection, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.lang.String viewSql, java.util.List<java.lang.String> viewPath, boolean fail)
Analyzes a view.static CalcitePrepare.ConvertResult
Schemas. convert(CalciteConnection connection, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.lang.String sql)
Parses and validates a SQL query and converts to relational algebra.private static void
Schemas. gatherLattices(CalciteSchema schema, java.util.List<CalciteSchema.LatticeEntry> list)
static java.util.List<CalciteSchema.LatticeEntry>
Schemas. getLatticeEntries(CalciteSchema schema)
Returns the lattices defined in a schema.static java.util.List<Lattice>
Schemas. getLattices(CalciteSchema schema)
Returns the lattices defined in a schema.static java.util.List<CalciteSchema.TableEntry>
Schemas. getStarTables(CalciteSchema schema)
Returns the star tables defined in a schema.private static CalcitePrepare.Context
Schemas. makeContext(CalciteConnectionConfig connectionConfig, JavaTypeFactory typeFactory, DataContext dataContext, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> objectPath_)
private static CalcitePrepare.Context
Schemas. makeContext(CalciteConnection connection, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> objectPath, com.google.common.collect.ImmutableMap<CalciteConnectionProperty,java.lang.String> propValues)
Creates a context for the purposes of preparing a statement.static CalcitePrepare.ParseResult
Schemas. parse(CalciteConnection connection, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.lang.String sql)
Parses and validates a SQL query.static Path
Schemas. path(CalciteSchema rootSchema, java.lang.Iterable<java.lang.String> names)
Creates a path with a given list of names starting from a given root schema.static CalcitePrepare.CalciteSignature<java.lang.Object>
Schemas. prepare(CalciteConnection connection, CalciteSchema schema, java.util.List<java.lang.String> schemaPath, java.lang.String sql, com.google.common.collect.ImmutableMap<CalciteConnectionProperty,java.lang.String> map)
Prepares a SQL query for execution.static CalciteSchema
Schemas. subSchema(CalciteSchema schema, java.lang.Iterable<java.lang.String> names)
Returns a sub-schema of a given schema obtained by following a sequence of names.static java.lang.String
Schemas. uniqueTableName(CalciteSchema schema, java.lang.String base)
Generates a table name that is unique within the given schema. -
Uses of CalciteSchema in org.apache.calcite.schema.impl
Fields in org.apache.calcite.schema.impl declared as CalciteSchema Modifier and Type Field Description protected CalciteSchema
ViewTableMacro. schema
Methods in org.apache.calcite.schema.impl with parameters of type CalciteSchema Modifier and Type Method Description static MaterializedViewTable.MaterializedViewTableMacro
MaterializedViewTable. create(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.util.List<java.lang.String> viewPath, java.lang.String suggestedTableName, boolean existing)
Table macro that returns a materialized view.protected ModifiableViewTable
ViewTableMacro. modifiableViewTable(CalcitePrepare.AnalyzeViewResult parsed, java.lang.String viewSql, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath, CalciteSchema schema)
Allows a sub-class to return an extension ofModifiableViewTable
by overriding this method.Constructors in org.apache.calcite.schema.impl with parameters of type CalciteSchema Constructor Description MaterializedViewTableMacro(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.util.List<java.lang.String> viewPath, java.lang.String suggestedTableName, boolean existing)
ViewTableMacro(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> schemaPath, java.util.List<java.lang.String> viewPath, java.lang.Boolean modifiable)
Creates a ViewTableMacro. -
Uses of CalciteSchema in org.apache.calcite.sql.ddl
Methods in org.apache.calcite.sql.ddl that return types with arguments of type CalciteSchema Modifier and Type Method Description (package private) static Pair<CalciteSchema,java.lang.String>
SqlDdlNodes. schema(CalcitePrepare.Context context, boolean mutable, SqlIdentifier id)
Returns the schema in which to create an object. -
Uses of CalciteSchema in org.apache.calcite.sql.validate
Methods in org.apache.calcite.sql.validate that return CalciteSchema Modifier and Type Method Description CalciteSchema
SqlValidatorCatalogReader. getRootSchema()
Returns the root namespace for name resolution.static CalciteSchema
SqlValidatorUtil. getSchema(CalciteSchema rootSchema, java.lang.Iterable<java.lang.String> schemaPath, SqlNameMatcher nameMatcher)
Finds and returnsCalciteSchema
nested to the given rootSchema with specified schemaPath.Methods in org.apache.calcite.sql.validate with parameters of type CalciteSchema Modifier and Type Method Description private Table
SqlValidatorImpl. findTable(CalciteSchema schema, java.lang.String tableName, boolean caseSensitive)
static CalciteSchema
SqlValidatorUtil. getSchema(CalciteSchema rootSchema, java.lang.Iterable<java.lang.String> schemaPath, SqlNameMatcher nameMatcher)
Finds and returnsCalciteSchema
nested to the given rootSchema with specified schemaPath.private static CalciteSchema.TableEntry
SqlValidatorUtil. getTableEntryFrom(CalciteSchema schema, java.lang.String name, boolean caseSensitive)
static CalciteSchema.TypeEntry
SqlValidatorUtil. getTypeEntry(CalciteSchema rootSchema, SqlIdentifier typeName)
Finds aCalciteSchema.TypeEntry
in a given schema whose type has the given name, possibly qualified.private void
EmptyScope. resolve_(CalciteSchema rootSchema, java.util.List<java.lang.String> names, java.util.List<java.lang.String> schemaNames, SqlNameMatcher nameMatcher, SqlValidatorScope.Path path, SqlValidatorScope.Resolved resolved)
-