public interface RelOptSchema
RelOptSchema
is a set of RelOptTable
objects.Modifier and Type | Method and Description |
---|---|
RelOptTable |
getTableForMember(java.util.List<java.lang.String> names)
Retrieves a
RelOptTable based upon a member access. |
RelDataTypeFactory |
getTypeFactory()
Returns the
type factory used to generate
types for this schema. |
void |
registerRules(RelOptPlanner planner)
Registers all of the rules supported by this schema.
|
RelOptTable getTableForMember(java.util.List<java.lang.String> names)
RelOptTable
based upon a member access.
For example, the Saffron expression salesSchema.emps
would be resolved using a call to salesSchema.getTableForMember(new
String[]{"emps" })
.
Note that name.length is only greater than 1 for queries originating from JDBC.
names
- Qualified nameRelDataTypeFactory getTypeFactory()
type factory
used to generate
types for this schema.void registerRules(RelOptPlanner planner) throws java.lang.Exception
RelOptPlanner.registerSchema(org.apache.calcite.plan.RelOptSchema)
.java.lang.Exception
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.