net.sf.farrago.defimpl
Class FarragoVolcanoPersonalityFactory
java.lang.Object
net.sf.farrago.defimpl.FarragoVolcanoPersonalityFactory
- All Implemented Interfaces:
- FarragoSessionPersonalityFactory
public class FarragoVolcanoPersonalityFactory
- extends Object
- implements FarragoSessionPersonalityFactory
FarragoVolcanoPersonalityFactory implements the FarragoSessionPersonalityFactory
interface by using Volcano to implement
cost-based optimization.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/defimpl/FarragoVolcanoPersonalityFactory.java#6 $
- Author:
- John V. Sichi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FarragoVolcanoPersonalityFactory
public FarragoVolcanoPersonalityFactory()
newSessionPersonality
public FarragoSessionPersonality newSessionPersonality(FarragoSession session,
FarragoSessionPersonality defaultPersonality)
- Description copied from interface:
FarragoSessionPersonalityFactory
- Creates a new session personality.
- Specified by:
newSessionPersonality
in interface FarragoSessionPersonalityFactory
- Parameters:
session
- session for which personality is being created; note that
the personality may be used for other sessions as well, so no reference
to this session should be retaineddefaultPersonality
- a default personality to which the new
personality may delegate, or null if no default is available
- Returns:
- personality