net.sf.saffron.oj
Class OJPlannerFactory

java.lang.Object
  |
  +--net.sf.saffron.opt.VolcanoPlannerFactory
        |
        +--net.sf.saffron.oj.OJPlannerFactory

public class OJPlannerFactory
extends VolcanoPlannerFactory

OJPlannerFactory implements VolcanoPlannerFactory by constructing planners initialized to handle all calling conventions, rules, and relational expressions needed to preprocess Saffron extended Java.

Version:
$Id: //open/saffron/src/net/sf/saffron/oj/OJPlannerFactory.java#6 $

Nested Class Summary
static class OJPlannerFactory.AggregateToJavaRule
           
static class OJPlannerFactory.DistinctToExistsRule
          Rule to translate a JavaDistinctRel into a JavaExistsRel, provided that the select list contains zero columns.
static class OJPlannerFactory.DistinctToJavaRule
           
static class OJPlannerFactory.FilterToJavaRule
           
static class OJPlannerFactory.JoinToJavaRule
           
static class OJPlannerFactory.OneRowToIteratorRule
           
static class OJPlannerFactory.OneRowToJavaRule
          Converts a OneRowRel to Java calling convention.
static class OJPlannerFactory.ProjectedFilterToIteratorRule
           
static class OJPlannerFactory.ProjectToIteratorRule
           
static class OJPlannerFactory.ProjectToJavaRule
          Converts a ProjectRel to Java calling convention.
static class OJPlannerFactory.TableAccessToJavaRule
          Rule to converts a TableAccessRel to Java calling convention.
static class OJPlannerFactory.UnionToIteratorRule
          Rule to converts a UnionRel to iterator calling convention.
static class OJPlannerFactory.UnionToJavaRule
          Rule to converts a UnionRel to Java calling convention.
 
Field Summary
 
Fields inherited from class net.sf.saffron.opt.VolcanoPlannerFactory
 
Constructor Summary
OJPlannerFactory()
           
 
Method Summary
 VolcanoPlanner newPlanner()
           
static void registerIterRels(VolcanoPlanner planner)
           
static void registerJavaRels(VolcanoPlanner planner)
          Register all of the Java implementations for the abstract relational operators, along with appropriate conversion rules.
 
Methods inherited from class net.sf.saffron.opt.VolcanoPlannerFactory
setThreadInstance, threadInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OJPlannerFactory

public OJPlannerFactory()
Method Detail

newPlanner

public VolcanoPlanner newPlanner()
Specified by:
newPlanner in class VolcanoPlannerFactory

registerJavaRels

public static void registerJavaRels(VolcanoPlanner planner)
Register all of the Java implementations for the abstract relational operators, along with appropriate conversion rules.

Parameters:
planner - the planner in which to register the rules

registerIterRels

public static void registerIterRels(VolcanoPlanner planner)

SourceForge.net_Logo