|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Schema
is a set of Table
s.
Method Summary | |
Table |
getTableForMember(String name)
Retrieves a Table based upon a member access. |
Table |
getTableForMethodCall(MethodCall call)
Retrieves a Table based upon a method call (for example,
salesSchema.empsInDept("SALES") ). |
TypeFactory |
getTypeFactory()
Returns the type factory used to generate types for
this schema. |
void |
registerRules(Planner planner)
Registers all of the rules supported by this schema. |
Method Detail |
public TypeFactory getTypeFactory()
type factory
used to generate types for
this schema.
public Table getTableForMember(String name)
Table
based upon a member access.
For example, the Saffron expression salesSchema.emps
would be resolved using a call to
salesSchema.getTableForMember(typeFactory, "emps")
.
public Table getTableForMethodCall(MethodCall call)
Table
based upon a method call (for example,
salesSchema.empsInDept("SALES")
).
public void registerRules(Planner planner) throws Exception
Planner.registerSchema(saffron.Schema)
.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |