public interface RelOptSchema
RelOptSchema is a set of RelOptTable objects.| Modifier and Type | Method and Description |
|---|---|
RelOptTable |
getTableForMember(List<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(List<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 Exception
RelOptPlanner.registerSchema(org.apache.calcite.plan.RelOptSchema).ExceptionCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.