|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SaffronSchema
is a set of SaffronTable
objects.
SaffronConnection
Method Summary | |
SaffronTable |
getTableForMember(String[] names)
Retrieves a SaffronTable based upon a member access. |
SaffronTypeFactory |
getTypeFactory()
Returns the type factory used to generate
types for this schema. |
void |
registerRules(SaffronPlanner planner)
Registers all of the rules supported by this schema. |
Method Detail |
public SaffronTable getTableForMember(String[] names)
SaffronTable
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.
public SaffronTypeFactory getTypeFactory()
type factory
used to generate
types for this schema.
public void registerRules(SaffronPlanner planner) throws Exception
SaffronPlanner.registerSchema(net.sf.saffron.core.SaffronSchema)
.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |