net.sf.saffron.core
Class EmptySaffronConnection.EmptySaffronSchema
java.lang.Object
|
+--net.sf.saffron.core.EmptySaffronConnection.EmptySaffronSchema
- All Implemented Interfaces:
- SaffronSchema
- Enclosing class:
- EmptySaffronConnection
- private static class EmptySaffronConnection.EmptySaffronSchema
- extends Object
- implements SaffronSchema
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeFactory
private final SaffronTypeFactoryImpl typeFactory
EmptySaffronConnection.EmptySaffronSchema
private EmptySaffronConnection.EmptySaffronSchema()
getTableForMember
public SaffronTable getTableForMember(String[] names)
- Description copied from interface:
SaffronSchema
- Retrieves a
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.
- Specified by:
getTableForMember
in interface SaffronSchema
getTypeFactory
public SaffronTypeFactory getTypeFactory()
- Description copied from interface:
SaffronSchema
- Returns the
type factory
used to generate
types for this schema.
- Specified by:
getTypeFactory
in interface SaffronSchema
registerRules
public void registerRules(SaffronPlanner planner)
throws Exception
- Description copied from interface:
SaffronSchema
- Registers all of the rules supported by this schema. Only called by
SaffronPlanner.registerSchema(net.sf.saffron.core.SaffronSchema)
.
- Specified by:
registerRules
in interface SaffronSchema
Exception