net.sf.farrago.test
Class FarragoTestPersonalityFactory.FarragoTestSessionPersonality
java.lang.Object
net.sf.farrago.defimpl.FarragoDefaultSessionPersonality
net.sf.farrago.test.FarragoTestPersonalityFactory.FarragoTestSessionPersonality
- All Implemented Interfaces:
- FarragoSessionPersonality, FarragoStreamFactoryProvider
- Enclosing class:
- FarragoTestPersonalityFactory
private static class FarragoTestPersonalityFactory.FarragoTestSessionPersonality
- extends FarragoDefaultSessionPersonality
| Fields inherited from class net.sf.farrago.defimpl.FarragoDefaultSessionPersonality |
CACHE_STATEMENTS, CACHE_STATEMENTS_DEFAULT, database, DEGREE_OF_PARALLELISM, DEGREE_OF_PARALLELISM_DEFAULT, LABEL, LABEL_DEFAULT, paramValidator, REDUCE_NON_CORRELATED_SUBQUERIES, REDUCE_NON_CORRELATED_SUBQUERIES_FARRAGO_DEFAULT, SQUEEZE_JDBC_NUMERIC, SQUEEZE_JDBC_NUMERIC_DEFAULT, VALIDATE_DDL_ON_PREPARE, VALIDATE_DDL_ON_PREPARE_DEFAULT |
| Methods inherited from class net.sf.farrago.defimpl.FarragoDefaultSessionPersonality |
addRowCount, createInheritedSessionVariables, defineDdlHandlers, definePlannerListeners, definePrivileges, getDefaultLocalDataServerName, getOJRexImplementorTable, getRowCounts, getRuntimeContextClass, getSqlOperatorTable, initPreparingStmt, isAlterTableAddColumnIncremental, isJavaUdxRestartable, isSupportedType, loadDefaultSessionVariables, newComponentImpl, newDdlValidator, newJmiQueryProcessor, newParser, newPreparingStmt, newPreparingStmt, newPreparingStmt, newRuntimeContext, newTypeFactory, registerStreamFactories, resetRowCounts, shouldReplacePreserveOriginalSql, supportsFeature, updateIndexRoot, updateRowCounts, validateSessionVariable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FarragoTestPersonalityFactory.FarragoTestSessionPersonality
protected FarragoTestPersonalityFactory.FarragoTestSessionPersonality(FarragoDbSession session)
registerRelMetadataProviders
public void registerRelMetadataProviders(ChainedRelMetadataProvider chain)
- Description copied from interface:
FarragoSessionPersonality
- Gives this personality a chance to register one or more
RelMetadataProviders in the chain which will be used to answer
relational expression metadata queries during optimization. Personalities
which define their own relational expressions will generally need to
supply corresponding metadata providers.
- Specified by:
registerRelMetadataProviders in interface FarragoSessionPersonality- Overrides:
registerRelMetadataProviders in class FarragoDefaultSessionPersonality
- Parameters:
chain - receives personality's custom providers, if any
newPlanner
public FarragoSessionPlanner newPlanner(FarragoSessionPreparingStmt stmt,
boolean init)
- Description copied from interface:
FarragoSessionPersonality
- Creates a new planner.
- Specified by:
newPlanner in interface FarragoSessionPersonality- Overrides:
newPlanner in class FarragoDefaultSessionPersonality
- Parameters:
stmt - stmt on whose behalf planner will operateinit - whether to initialize default rules in new planner
- Returns:
- new planner