|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelOptSchema
A RelOptSchema
is a set of RelOptTable
objects.
RelOptConnection
Method Summary | |
---|---|
RelOptTable |
getTableForMember(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. |
Method Detail |
---|
RelOptTable getTableForMember(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.
RelDataTypeFactory getTypeFactory()
type factory
used to generate
types for this schema.
void registerRules(RelOptPlanner planner) throws Exception
RelOptPlanner.registerSchema(org.eigenbase.relopt.RelOptSchema)
.
Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |