net.sf.farrago.test
Class FarragoTestPersonalityFactory.FarragoTestSessionPersonality

java.lang.Object
  extended by net.sf.farrago.defimpl.FarragoDefaultSessionPersonality
      extended by net.sf.farrago.test.FarragoTestPersonalityFactory.FarragoTestSessionPersonality
All Implemented Interfaces:
FarragoSessionPersonality, FarragoStreamFactoryProvider
Enclosing class:
FarragoTestPersonalityFactory

private static class FarragoTestPersonalityFactory.FarragoTestSessionPersonality
extends FarragoDefaultSessionPersonality


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.farrago.defimpl.FarragoDefaultSessionPersonality
FarragoDefaultSessionPersonality.ParamValidator
 
Field Summary
 
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
 
Constructor Summary
protected FarragoTestPersonalityFactory.FarragoTestSessionPersonality(FarragoDbSession session)
           
 
Method Summary
 FarragoSessionPlanner newPlanner(FarragoSessionPreparingStmt stmt, boolean init)
          Creates a new planner.
 void registerRelMetadataProviders(ChainedRelMetadataProvider chain)
          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.
 
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
 

Constructor Detail

FarragoTestPersonalityFactory.FarragoTestSessionPersonality

protected FarragoTestPersonalityFactory.FarragoTestSessionPersonality(FarragoDbSession session)
Method Detail

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 operate
init - whether to initialize default rules in new planner
Returns:
new planner